mirror of
https://github.com/FlipsideCrypto/aptos-models.git
synced 2026-02-06 13:41:54 +00:00
set native token and disable other native models
This commit is contained in:
parent
e4e0050f2f
commit
6b39af7fa9
@ -9,7 +9,10 @@ SELECT
|
||||
NAME,
|
||||
decimals,
|
||||
price,
|
||||
FALSE AS is_native,
|
||||
CASE
|
||||
WHEN LOWER(token_address) = LOWER('0x1::aptos_coin::AptosCoin') THEN TRUE
|
||||
ELSE FALSE
|
||||
END AS is_native,
|
||||
is_deprecated,
|
||||
is_imputed,
|
||||
COALESCE(
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
materialized = 'incremental',
|
||||
incremental_strategy = 'delete+insert',
|
||||
unique_key = 'complete_native_asset_metadata_id',
|
||||
tags = ['core']
|
||||
tags = ['disabled']
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
incremental_strategy = 'delete+insert',
|
||||
unique_key = 'complete_native_prices_id',
|
||||
cluster_by = ['HOUR::DATE'],
|
||||
tags = ['core']
|
||||
tags = ['disabled']
|
||||
) }}
|
||||
|
||||
SELECT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user