From fd4c8ff69cd9b479ce7560eb67fc7088820c5a5c Mon Sep 17 00:00:00 2001 From: Jess Williams Date: Wed, 22 Nov 2023 20:30:56 +0000 Subject: [PATCH] fix CI logic --- models/staging/stripe/stg_stripe__payments.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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())