mirror of
https://github.com/FlipsideCrypto/ethereum-models.git
synced 2026-02-06 14:06:53 +00:00
* added macros and updates to dbt_project/readme for snowflake tags * added database level tag * more tags * more tags * changed readme * added tags for chainlink and snapshot * more tags
35 lines
666 B
SQL
35 lines
666 B
SQL
{{ config(
|
|
materialized = 'view',
|
|
persist_docs ={ "relation": true,
|
|
"columns": true },
|
|
meta={
|
|
'database_tags':{
|
|
'table': {
|
|
'PURPOSE': 'NFT'
|
|
}
|
|
}
|
|
}
|
|
) }}
|
|
|
|
SELECT
|
|
blockchain,
|
|
commission_rate,
|
|
contract_address,
|
|
contract_name,
|
|
created_at_block_id AS created_at_block_number,
|
|
created_at_timestamp,
|
|
created_at_tx_id AS created_at_tx_hash,
|
|
creator_address,
|
|
creator_name,
|
|
image_url,
|
|
project_name,
|
|
token_id,
|
|
token_metadata,
|
|
token_metadata_uri,
|
|
token_name
|
|
FROM
|
|
{{ source(
|
|
'flipside_gold_ethereum',
|
|
'nft_metadata'
|
|
) }}
|