From 83592dcc410583e77c482066944fe500aaab5065 Mon Sep 17 00:00:00 2001 From: adim1973 Date: Sat, 24 Aug 2024 15:29:11 +0300 Subject: [PATCH] add cREAL dbt model (#445) --- databases.csv | 1 + models/projects/creal/core/ez_creal_metrics.sql | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 models/projects/creal/core/ez_creal_metrics.sql diff --git a/databases.csv b/databases.csv index 53abc040..6a191273 100644 --- a/databases.csv +++ b/databases.csv @@ -31,6 +31,7 @@ CKES COMMON COMPOUND COSMOSHUB +CREAL CUSD DAI DEXALOT diff --git a/models/projects/creal/core/ez_creal_metrics.sql b/models/projects/creal/core/ez_creal_metrics.sql new file mode 100644 index 00000000..dd0bb2a2 --- /dev/null +++ b/models/projects/creal/core/ez_creal_metrics.sql @@ -0,0 +1,12 @@ +{{ + config( + materialized="incremental", + unique_key="date", + snowflake_warehouse="CREAL", + database="creal", + schema="core", + alias="ez_metrics", + ) +}} + +{{ get_stablecoin_ez_metrics("CREAL") }}