reverted column rename

This commit is contained in:
Mike Stepanovic 2025-01-14 11:47:29 -07:00
parent dea06f1ad1
commit 4ac31788b3
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ nonnative_transfers AS (
receiver,
amount,
is_native,
token_id
token_id as token_address
FROM
{{ ref('silver__nonnative_transfers') }}
@ -90,7 +90,7 @@ SELECT
receiver,
amount,
is_native,
token_id,
token_id as token_address,
{{ dbt_utils.generate_surrogate_key(
['tx_id','transition_id','transfer_type']
) }} AS fact_transfers_id,

View File

@ -42,7 +42,7 @@ models:
description: "Whether the transfer is a native transfer (credits.aleo) or a non-native transfer (token_registry.aleo)."
tests:
- dbt_expectations.expect_column_to_exist
- name: TOKEN_ID
- name: TOKEN_ADDRESS
description: "Token address of the transfer."
tests:
- dbt_expectations.expect_column_to_exist