Skip to content

Commit

Permalink
stg public
Browse files Browse the repository at this point in the history
  • Loading branch information
Bethany Hipple committed Jun 17, 2024
1 parent 04de29b commit 3bc015f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion models/staging/stripe/stg_stripe__payments.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ select
-- descriptions
paymentmethod as payment_method,
status,
{{ money('amount') }} as amount -- amount is stored in cents, convert it to dollars
{{ money('amount') }} as amount, -- amount is stored in cents, convert it to dollars

-- datetimes
created as created_at

from {{ ref('snapshot_stg_payments') }}
-- pull only the most recent update for each unique record
Expand Down
4 changes: 4 additions & 0 deletions models/staging/stripe/stg_stripe__payments.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
models:
- name: stg_stripe__payments
access: public
description: description

0 comments on commit 3bc015f

Please sign in to comment.