balance transactions fields done
This commit is contained in:
parent
d4e7f5ec97
commit
fa413a4c6e
1 changed files with 5 additions and 5 deletions
|
|
@ -5,18 +5,18 @@ with
|
|||
stg_stripe__balance_transactions as (
|
||||
select
|
||||
{{ adapter.quote("id") }},
|
||||
{{ adapter.quote("fee") }},
|
||||
{{ adapter.quote("net") }},
|
||||
{{ adapter.quote("fee") }} / 100 as fee,
|
||||
{{ adapter.quote("net") }} / 100 as net,
|
||||
{{ adapter.quote("type") }},
|
||||
{{ adapter.quote("amount") }},
|
||||
{{ adapter.quote("amount") }} / 100 as amount,
|
||||
{{ adapter.quote("object") }},
|
||||
{{ adapter.quote("source") }},
|
||||
{{ adapter.quote("status") }},
|
||||
{{ adapter.quote("created") }},
|
||||
to_timestamp({{ adapter.quote("created") }}) as created_at_utc,
|
||||
{{ adapter.quote("currency") }},
|
||||
{{ adapter.quote("description") }},
|
||||
{{ adapter.quote("fee_details") }},
|
||||
{{ adapter.quote("available_on") }},
|
||||
to_timestamp({{ adapter.quote("available_on") }}) as available_at_utc,
|
||||
{{ adapter.quote("exchange_rate") }},
|
||||
{{ adapter.quote("sourced_transfers") }},
|
||||
{{ adapter.quote("reporting_category") }},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue