Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beep #111

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

beep #111

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion models/staging/stripe/stg_stripe__payments.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
select
-- ids
id as payment_id,
orderid as order_id,

-- descriptions
paymentmethod as payment_method,
Expand Down
24 changes: 24 additions & 0 deletions models/staging/stripe/stg_stripe__payments.yml
Original file line number Diff line number Diff line change
@@ -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