diff --git a/models/staging/stripe/stg_stripe__payments.sql b/models/staging/stripe/stg_stripe__payments.sql index d5b699f..ceeb945 100644 --- a/models/staging/stripe/stg_stripe__payments.sql +++ b/models/staging/stripe/stg_stripe__payments.sql @@ -17,7 +17,7 @@ from {{ ref('snapshot_stg_payments') }} -- for CI builds, only pull the records from the prior day -{% if target.name == 'ci'%} +{% if target.name == 'CI'%} where created_at >= dateadd('day',-1,current_date())