From b72bd178d391cd9c900da647878909863ba25718 Mon Sep 17 00:00:00 2001 From: tarikceric <46071768+tarikceric@users.noreply.github.com> Date: Wed, 2 Aug 2023 17:56:35 +0200 Subject: [PATCH] update tags/docs (#321) --- models/descriptions/__overview__.md | 6 ++++++ models/gold/core__fact_block_production.sql | 12 +++++++++--- models/gold/core__fact_stake_accounts.sql | 12 +++++++++--- models/gold/core__fact_validators.sql | 12 +++++++++--- models/gold/core__fact_vote_accounts.sql | 12 +++++++++--- 5 files changed, 42 insertions(+), 12 deletions(-) diff --git a/models/descriptions/__overview__.md b/models/descriptions/__overview__.md index 57002430..8320e089 100644 --- a/models/descriptions/__overview__.md +++ b/models/descriptions/__overview__.md @@ -42,11 +42,17 @@ There is more information on how to use dbt docs in the last section of this doc - [fact_transactions](#!/model/model.solana_models.core__fact_transactions) - [fact_transfers](#!/model/model.solana_models.core__fact_transfers) - [fact_votes_agg_block](#!/model/model.solana_models.core__fact_votes_agg_block) +- [fact_stake_accounts](#!/model/model.solana_models.core__fact_stake_accounts) +- [fact_vote_accounts](#!/model/model.solana_models.core__fact_vote_accounts) +- [fact_block_production](#!/model/model.solana_models.core__fact_block_production) +- [fact_validators](#!/model/model.solana_models.core__fact_validators) +- [fact_decoded_instructions](#!/model/model.solana_models.core__fact_decoded_instructions) **Convenience Tables:** - [ez_signers](#!/model/model.solana_models.core__ez_signers) - [ez_staking_lp_actions](#!/model/model.solana_models.core__ez_staking_lp_actions) - [ez_token_prices_hourly](#!/model/model.solana_models.core__ez_token_prices_hourly) +- [ez_events_decoded](#!/model/model.solana_models.core__ez_events_decoded) ## **Data Model Overview** diff --git a/models/gold/core__fact_block_production.sql b/models/gold/core__fact_block_production.sql index d1dffcfd..155f5c2a 100644 --- a/models/gold/core__fact_block_production.sql +++ b/models/gold/core__fact_block_production.sql @@ -1,7 +1,13 @@ {{ config( - materialized='view' - ) -}} + materialized = 'view', + meta={ + 'database_tags':{ + 'table': { + 'PURPOSE': 'VALIDATOR' + } + } + } +) }} SELECT epoch, diff --git a/models/gold/core__fact_stake_accounts.sql b/models/gold/core__fact_stake_accounts.sql index 4a406d8b..d50391fa 100644 --- a/models/gold/core__fact_stake_accounts.sql +++ b/models/gold/core__fact_stake_accounts.sql @@ -1,7 +1,13 @@ {{ config( - materialized='view' - ) -}} + materialized = 'view', + meta={ + 'database_tags':{ + 'table': { + 'PURPOSE': 'VALIDATOR' + } + } + } +) }} SELECT epoch_recorded::INT as epoch, diff --git a/models/gold/core__fact_validators.sql b/models/gold/core__fact_validators.sql index 599ffbe2..0e94bd94 100644 --- a/models/gold/core__fact_validators.sql +++ b/models/gold/core__fact_validators.sql @@ -1,7 +1,13 @@ {{ config( - materialized='view' - ) -}} + materialized = 'view', + meta={ + 'database_tags':{ + 'table': { + 'PURPOSE': 'VALIDATOR' + } + } + } +) }} SELECT epoch_recorded::INT as epoch, diff --git a/models/gold/core__fact_vote_accounts.sql b/models/gold/core__fact_vote_accounts.sql index 541378f7..ab822790 100644 --- a/models/gold/core__fact_vote_accounts.sql +++ b/models/gold/core__fact_vote_accounts.sql @@ -1,7 +1,13 @@ {{ config( - materialized='view' - ) -}} + materialized = 'view', + meta={ + 'database_tags':{ + 'table': { + 'PURPOSE': 'VALIDATOR' + } + } + } +) }} SELECT epoch_recorded :: int as epoch,