Skip to content

Commit

Permalink
add model documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
nrlugg committed Nov 12, 2024
1 parent 5976ddd commit 68f15be
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions jaffle_shop/models/staging/src_seed/_models.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ models:
- name: last_name_hash

- name: stg_orders
description: |
A row per order, where an order consists of:
- customer_id
- order_date
- status
columns:
- name: order_id
description: Primary key
Expand All @@ -54,6 +59,11 @@ models:
values: ['placed', 'shipped', 'completed', 'return_pending', 'returned']

- name: stg_payments
description: |
A row per payment, where a payment consists of:
- order_id
- payment_menthod
- amount_aud
columns:
- name: payment_id
description: Primary key
Expand Down

0 comments on commit 68f15be

Please sign in to comment.