From f82af1709f022d7808f16baf549cbc6580987796 Mon Sep 17 00:00:00 2001 From: Jerrie Kumalah Date: Tue, 12 Nov 2024 20:40:53 +0000 Subject: [PATCH] test commit --- models/staging/stripe/stg_stripe__payments.sql | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/models/staging/stripe/stg_stripe__payments.sql b/models/staging/stripe/stg_stripe__payments.sql index 61ede9e5..d1e7347e 100644 --- a/models/staging/stripe/stg_stripe__payments.sql +++ b/models/staging/stripe/stg_stripe__payments.sql @@ -11,7 +11,9 @@ select {{ money('amount') }} as amount, -- amount is stored in cents, convert it to dollars -- datetimes - created as created_at + created as created_at, + 1 as new_id + from {{ ref('snapshot_stg_payments') }} -- pull only the most recent update for each unique record