From 0f71a7db88b9b6aadbc1449ec9b8b9e3a45b1bbe Mon Sep 17 00:00:00 2001 From: Faith Lierheimer Date: Tue, 22 Oct 2024 20:40:54 +0000 Subject: [PATCH] beep --- .../staging/stripe/stg_stripe__payments.sql | 1 - .../staging/stripe/stg_stripe__payments.yml | 24 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 models/staging/stripe/stg_stripe__payments.yml diff --git a/models/staging/stripe/stg_stripe__payments.sql b/models/staging/stripe/stg_stripe__payments.sql index 61ede9e5..bf8893e9 100644 --- a/models/staging/stripe/stg_stripe__payments.sql +++ b/models/staging/stripe/stg_stripe__payments.sql @@ -3,7 +3,6 @@ select -- ids id as payment_id, - orderid as order_id, -- descriptions paymentmethod as payment_method, diff --git a/models/staging/stripe/stg_stripe__payments.yml b/models/staging/stripe/stg_stripe__payments.yml new file mode 100644 index 00000000..f0529660 --- /dev/null +++ b/models/staging/stripe/stg_stripe__payments.yml @@ -0,0 +1,24 @@ +models: + - name: stg_stripe__payments + data_tests: + - filtered_unique + columns: + - name: payment_id + tests: + - unique + - not_null + - name: order_id + tests: + - not_null + - name: payment_method + tests: + - not_null + - name: status + tests: + - not_null + - name: amount + tests: + - not_null + - name: created_at + tests: + - not_null \ No newline at end of file