Skip to content

Commit

Permalink
Merge pull request #64 from chabi-io/bugfix/issue-63
Browse files Browse the repository at this point in the history
  • Loading branch information
fivetran-joemarkiewicz authored Apr 13, 2023
2 parents 50f98d7 + ad909e8 commit dfac815
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions models/src_stripe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ sources:
columns:
- name: balance_transaction_id
description: ID of the balance transaction entry the fee applies to
- name: index
description: The index of the fee within the balance transaction
- name: amount
description: Amount of the fee, in cents.
- name: application
Expand Down
3 changes: 3 additions & 0 deletions models/stg_stripe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,15 @@ models:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- balance_transaction_id
- index
- source_relation
columns:
- name: balance_transaction_id
description: ID of the balance transaction entry the fee applies to
tests:
- not_null
- name: index
description: The index of the fee within the balance transaction
- name: amount
description: Amount of the fee, in cents.
- name: application
Expand Down
1 change: 1 addition & 0 deletions models/stg_stripe__fee.sql
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ final as (

select
balance_transaction_id,
index,
amount,
application,
currency,
Expand Down

0 comments on commit dfac815

Please sign in to comment.