From 20be29b9daa63bcf3118a8d0ea6474f9a7ddeecc Mon Sep 17 00:00:00 2001 From: Raymond Cheng Date: Tue, 30 Apr 2024 07:34:52 -0700 Subject: [PATCH] fix: rename sync_to_cloudsql to sync_to_db (#1324) --- apps/hasura/src/genTables.ts | 6 +++--- warehouse/bq2cloudsql/script.py | 2 +- .../marts/code_metrics/code_metrics_by_collection.sql | 2 +- .../models/marts/code_metrics/code_metrics_by_project.sql | 2 +- warehouse/dbt/models/marts/directory/artifacts.sql | 3 ++- .../dbt/models/marts/directory/artifacts_by_project.sql | 2 +- warehouse/dbt/models/marts/directory/collections.sql | 2 +- .../dbt/models/marts/directory/deployers_by_project.sql | 2 +- warehouse/dbt/models/marts/directory/projects.sql | 2 +- .../dbt/models/marts/directory/projects_by_collection.sql | 2 +- warehouse/dbt/models/marts/directory/repos_by_project.sql | 2 +- .../marts/events/daily/events_daily_from_artifact.sql | 2 +- .../marts/events/daily/events_daily_from_collection.sql | 2 +- .../models/marts/events/daily/events_daily_from_project.sql | 2 +- .../models/marts/events/daily/events_daily_to_artifact.sql | 2 +- .../events/daily/events_daily_to_artifact_by_source.sql | 2 +- .../marts/events/daily/events_daily_to_collection.sql | 2 +- .../events/daily/events_daily_to_collection_by_source.sql | 2 +- .../models/marts/events/daily/events_daily_to_project.sql | 2 +- .../events/daily/events_daily_to_project_by_source.sql | 2 +- .../marts/events/event_indexing_status_by_project.sql | 2 +- warehouse/dbt/models/marts/events/event_types.sql | 2 +- .../models/marts/events/first_contribution_to_project.sql | 2 +- .../models/marts/events/last_contribution_to_project.sql | 2 +- .../marts/events/monthly/events_monthly_from_artifact.sql | 2 +- .../marts/events/monthly/events_monthly_from_collection.sql | 2 +- .../marts/events/monthly/events_monthly_from_project.sql | 2 +- .../marts/events/monthly/events_monthly_to_artifact.sql | 2 +- .../events/monthly/events_monthly_to_artifact_by_source.sql | 2 +- .../marts/events/monthly/events_monthly_to_collection.sql | 2 +- .../monthly/events_monthly_to_collection_by_source.sql | 2 +- .../marts/events/monthly/events_monthly_to_project.sql | 2 +- .../events/monthly/events_monthly_to_project_by_source.sql | 2 +- .../dbt/models/marts/events/users_monthly_to_project.sql | 2 +- .../marts/events/weekly/events_weekly_from_artifact.sql | 2 +- .../marts/events/weekly/events_weekly_from_collection.sql | 2 +- .../marts/events/weekly/events_weekly_from_project.sql | 2 +- .../marts/events/weekly/events_weekly_to_artifact.sql | 2 +- .../events/weekly/events_weekly_to_artifact_by_source.sql | 2 +- .../marts/events/weekly/events_weekly_to_collection.sql | 2 +- .../events/weekly/events_weekly_to_collection_by_source.sql | 2 +- .../models/marts/events/weekly/events_weekly_to_project.sql | 2 +- .../marts/onchain_metrics/onchain_metrics_by_collection.sql | 2 +- .../marts/onchain_metrics/onchain_metrics_by_project.sql | 2 +- .../marts/onchain_metrics/onchain_metrics_by_project_v2.sql | 2 +- .../marts/project_metrics/beta/pm_contracts_deployed.sql | 2 +- .../marts/project_metrics/beta/pm_trusted_transactions.sql | 2 +- .../marts/project_metrics/live/event_totals_by_project.sql | 2 +- .../models/marts/project_metrics/live/pm_contributors.sql | 2 +- .../dbt/models/marts/project_metrics/live/pm_dev_months.sql | 2 +- .../models/marts/project_metrics/live/pm_new_contribs.sql | 2 +- 51 files changed, 54 insertions(+), 53 deletions(-) diff --git a/apps/hasura/src/genTables.ts b/apps/hasura/src/genTables.ts index b5584c9be..44af6dcc0 100644 --- a/apps/hasura/src/genTables.ts +++ b/apps/hasura/src/genTables.ts @@ -82,7 +82,7 @@ type ModelConfig = { name: string; config: { meta: { - sync_to_cloudsql: boolean; + sync_to_db: boolean; }; }; }; @@ -115,14 +115,14 @@ async function main(): Promise { name: string; config: { meta: { - sync_to_cloudsql: boolean; + sync_to_db: boolean; }; }; }; modelConfigs.push(modelConfig); } const filteredConfigs = modelConfigs.filter((c) => { - return c.config.meta.sync_to_cloudsql === true; + return c.config.meta.sync_to_db === true; }); const tableNames = filteredConfigs.map((c) => { diff --git a/warehouse/bq2cloudsql/script.py b/warehouse/bq2cloudsql/script.py index 4183724a9..611c48ba9 100644 --- a/warehouse/bq2cloudsql/script.py +++ b/warehouse/bq2cloudsql/script.py @@ -35,7 +35,7 @@ def table_sync_config_from_dbt_marts(target: str) -> List[TableSyncConfig]: for model_config in model_configs: config = model_config.get("config", {}) meta = config.get("meta", {}) - if not meta.get("sync_to_cloudsql", False): + if not meta.get("sync_to_db", False): print("Skipping %s" % model_config["name"]) continue print(model_config["name"]) diff --git a/warehouse/dbt/models/marts/code_metrics/code_metrics_by_collection.sql b/warehouse/dbt/models/marts/code_metrics/code_metrics_by_collection.sql index 20e66a687..25d5ff9b2 100644 --- a/warehouse/dbt/models/marts/code_metrics/code_metrics_by_collection.sql +++ b/warehouse/dbt/models/marts/code_metrics/code_metrics_by_collection.sql @@ -18,7 +18,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/code_metrics/code_metrics_by_project.sql b/warehouse/dbt/models/marts/code_metrics/code_metrics_by_project.sql index e01ed5755..3c10f7007 100644 --- a/warehouse/dbt/models/marts/code_metrics/code_metrics_by_project.sql +++ b/warehouse/dbt/models/marts/code_metrics/code_metrics_by_project.sql @@ -18,7 +18,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/directory/artifacts.sql b/warehouse/dbt/models/marts/directory/artifacts.sql index 79d22badb..00a1acef8 100644 --- a/warehouse/dbt/models/marts/directory/artifacts.sql +++ b/warehouse/dbt/models/marts/directory/artifacts.sql @@ -1,6 +1,7 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True + }) }} diff --git a/warehouse/dbt/models/marts/directory/artifacts_by_project.sql b/warehouse/dbt/models/marts/directory/artifacts_by_project.sql index 4d67359ce..11ce09b25 100644 --- a/warehouse/dbt/models/marts/directory/artifacts_by_project.sql +++ b/warehouse/dbt/models/marts/directory/artifacts_by_project.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/directory/collections.sql b/warehouse/dbt/models/marts/directory/collections.sql index 94f6ad8b9..de585edd0 100644 --- a/warehouse/dbt/models/marts/directory/collections.sql +++ b/warehouse/dbt/models/marts/directory/collections.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/directory/deployers_by_project.sql b/warehouse/dbt/models/marts/directory/deployers_by_project.sql index fb320066d..48bb8cf2a 100644 --- a/warehouse/dbt/models/marts/directory/deployers_by_project.sql +++ b/warehouse/dbt/models/marts/directory/deployers_by_project.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/directory/projects.sql b/warehouse/dbt/models/marts/directory/projects.sql index e2ec9e844..2851beec4 100644 --- a/warehouse/dbt/models/marts/directory/projects.sql +++ b/warehouse/dbt/models/marts/directory/projects.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/directory/projects_by_collection.sql b/warehouse/dbt/models/marts/directory/projects_by_collection.sql index d48e1d406..760a079e1 100644 --- a/warehouse/dbt/models/marts/directory/projects_by_collection.sql +++ b/warehouse/dbt/models/marts/directory/projects_by_collection.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} SELECT diff --git a/warehouse/dbt/models/marts/directory/repos_by_project.sql b/warehouse/dbt/models/marts/directory/repos_by_project.sql index 0e3807d7d..b44113b57 100644 --- a/warehouse/dbt/models/marts/directory/repos_by_project.sql +++ b/warehouse/dbt/models/marts/directory/repos_by_project.sql @@ -4,7 +4,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/daily/events_daily_from_artifact.sql b/warehouse/dbt/models/marts/events/daily/events_daily_from_artifact.sql index 6f5685783..fe3928c1f 100644 --- a/warehouse/dbt/models/marts/events/daily/events_daily_from_artifact.sql +++ b/warehouse/dbt/models/marts/events/daily/events_daily_from_artifact.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/daily/events_daily_from_collection.sql b/warehouse/dbt/models/marts/events/daily/events_daily_from_collection.sql index c80565f4d..a7075f198 100644 --- a/warehouse/dbt/models/marts/events/daily/events_daily_from_collection.sql +++ b/warehouse/dbt/models/marts/events/daily/events_daily_from_collection.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/daily/events_daily_from_project.sql b/warehouse/dbt/models/marts/events/daily/events_daily_from_project.sql index 294e8ea64..f85e72d5d 100644 --- a/warehouse/dbt/models/marts/events/daily/events_daily_from_project.sql +++ b/warehouse/dbt/models/marts/events/daily/events_daily_from_project.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/daily/events_daily_to_artifact.sql b/warehouse/dbt/models/marts/events/daily/events_daily_to_artifact.sql index 44c3d26ee..bb36f2afa 100644 --- a/warehouse/dbt/models/marts/events/daily/events_daily_to_artifact.sql +++ b/warehouse/dbt/models/marts/events/daily/events_daily_to_artifact.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/daily/events_daily_to_artifact_by_source.sql b/warehouse/dbt/models/marts/events/daily/events_daily_to_artifact_by_source.sql index f470eb5cd..f4dd2598d 100644 --- a/warehouse/dbt/models/marts/events/daily/events_daily_to_artifact_by_source.sql +++ b/warehouse/dbt/models/marts/events/daily/events_daily_to_artifact_by_source.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': False + 'sync_to_db': False }) }} diff --git a/warehouse/dbt/models/marts/events/daily/events_daily_to_collection.sql b/warehouse/dbt/models/marts/events/daily/events_daily_to_collection.sql index a75f00240..e18db5ece 100644 --- a/warehouse/dbt/models/marts/events/daily/events_daily_to_collection.sql +++ b/warehouse/dbt/models/marts/events/daily/events_daily_to_collection.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/daily/events_daily_to_collection_by_source.sql b/warehouse/dbt/models/marts/events/daily/events_daily_to_collection_by_source.sql index 83216f3e3..21837d76f 100644 --- a/warehouse/dbt/models/marts/events/daily/events_daily_to_collection_by_source.sql +++ b/warehouse/dbt/models/marts/events/daily/events_daily_to_collection_by_source.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': False + 'sync_to_db': False }) }} diff --git a/warehouse/dbt/models/marts/events/daily/events_daily_to_project.sql b/warehouse/dbt/models/marts/events/daily/events_daily_to_project.sql index f249739a6..ca43fa7ed 100644 --- a/warehouse/dbt/models/marts/events/daily/events_daily_to_project.sql +++ b/warehouse/dbt/models/marts/events/daily/events_daily_to_project.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/daily/events_daily_to_project_by_source.sql b/warehouse/dbt/models/marts/events/daily/events_daily_to_project_by_source.sql index e8d2746df..162b872c3 100644 --- a/warehouse/dbt/models/marts/events/daily/events_daily_to_project_by_source.sql +++ b/warehouse/dbt/models/marts/events/daily/events_daily_to_project_by_source.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': False + 'sync_to_db': False }) }} diff --git a/warehouse/dbt/models/marts/events/event_indexing_status_by_project.sql b/warehouse/dbt/models/marts/events/event_indexing_status_by_project.sql index 3226b1074..6f80ff95d 100644 --- a/warehouse/dbt/models/marts/events/event_indexing_status_by_project.sql +++ b/warehouse/dbt/models/marts/events/event_indexing_status_by_project.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/event_types.sql b/warehouse/dbt/models/marts/events/event_types.sql index fbcd9b371..9e7158c4e 100644 --- a/warehouse/dbt/models/marts/events/event_types.sql +++ b/warehouse/dbt/models/marts/events/event_types.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/first_contribution_to_project.sql b/warehouse/dbt/models/marts/events/first_contribution_to_project.sql index b4ef61569..aadfbb4dd 100644 --- a/warehouse/dbt/models/marts/events/first_contribution_to_project.sql +++ b/warehouse/dbt/models/marts/events/first_contribution_to_project.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/last_contribution_to_project.sql b/warehouse/dbt/models/marts/events/last_contribution_to_project.sql index 942b1fd84..ef22672f7 100644 --- a/warehouse/dbt/models/marts/events/last_contribution_to_project.sql +++ b/warehouse/dbt/models/marts/events/last_contribution_to_project.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/monthly/events_monthly_from_artifact.sql b/warehouse/dbt/models/marts/events/monthly/events_monthly_from_artifact.sql index 2054922ff..2a489ff43 100644 --- a/warehouse/dbt/models/marts/events/monthly/events_monthly_from_artifact.sql +++ b/warehouse/dbt/models/marts/events/monthly/events_monthly_from_artifact.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/monthly/events_monthly_from_collection.sql b/warehouse/dbt/models/marts/events/monthly/events_monthly_from_collection.sql index 3fe29d3c8..c4b4f5969 100644 --- a/warehouse/dbt/models/marts/events/monthly/events_monthly_from_collection.sql +++ b/warehouse/dbt/models/marts/events/monthly/events_monthly_from_collection.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/monthly/events_monthly_from_project.sql b/warehouse/dbt/models/marts/events/monthly/events_monthly_from_project.sql index b23f60f71..43c6fedd2 100644 --- a/warehouse/dbt/models/marts/events/monthly/events_monthly_from_project.sql +++ b/warehouse/dbt/models/marts/events/monthly/events_monthly_from_project.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_artifact.sql b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_artifact.sql index 27162b59b..6b09632cc 100644 --- a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_artifact.sql +++ b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_artifact.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_artifact_by_source.sql b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_artifact_by_source.sql index 000ba51ae..cac5096cd 100644 --- a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_artifact_by_source.sql +++ b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_artifact_by_source.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': False + 'sync_to_db': False }) }} diff --git a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_collection.sql b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_collection.sql index 1e5140a97..4757f7e0e 100644 --- a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_collection.sql +++ b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_collection.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_collection_by_source.sql b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_collection_by_source.sql index 2c9af7fdb..7308b4ba0 100644 --- a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_collection_by_source.sql +++ b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_collection_by_source.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': False + 'sync_to_db': False }) }} diff --git a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_project.sql b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_project.sql index ea5bb0017..1874fdb73 100644 --- a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_project.sql +++ b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_project.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_project_by_source.sql b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_project_by_source.sql index 4c3805fc9..536cad9b0 100644 --- a/warehouse/dbt/models/marts/events/monthly/events_monthly_to_project_by_source.sql +++ b/warehouse/dbt/models/marts/events/monthly/events_monthly_to_project_by_source.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': False + 'sync_to_db': False }) }} diff --git a/warehouse/dbt/models/marts/events/users_monthly_to_project.sql b/warehouse/dbt/models/marts/events/users_monthly_to_project.sql index e5c8dc48c..59e48c820 100644 --- a/warehouse/dbt/models/marts/events/users_monthly_to_project.sql +++ b/warehouse/dbt/models/marts/events/users_monthly_to_project.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/weekly/events_weekly_from_artifact.sql b/warehouse/dbt/models/marts/events/weekly/events_weekly_from_artifact.sql index 001c745f3..caaa9a071 100644 --- a/warehouse/dbt/models/marts/events/weekly/events_weekly_from_artifact.sql +++ b/warehouse/dbt/models/marts/events/weekly/events_weekly_from_artifact.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/weekly/events_weekly_from_collection.sql b/warehouse/dbt/models/marts/events/weekly/events_weekly_from_collection.sql index 393a52a4a..91cbd2502 100644 --- a/warehouse/dbt/models/marts/events/weekly/events_weekly_from_collection.sql +++ b/warehouse/dbt/models/marts/events/weekly/events_weekly_from_collection.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/weekly/events_weekly_from_project.sql b/warehouse/dbt/models/marts/events/weekly/events_weekly_from_project.sql index 643ac6bc8..da9f62bec 100644 --- a/warehouse/dbt/models/marts/events/weekly/events_weekly_from_project.sql +++ b/warehouse/dbt/models/marts/events/weekly/events_weekly_from_project.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/weekly/events_weekly_to_artifact.sql b/warehouse/dbt/models/marts/events/weekly/events_weekly_to_artifact.sql index 462faa925..649956edb 100644 --- a/warehouse/dbt/models/marts/events/weekly/events_weekly_to_artifact.sql +++ b/warehouse/dbt/models/marts/events/weekly/events_weekly_to_artifact.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/weekly/events_weekly_to_artifact_by_source.sql b/warehouse/dbt/models/marts/events/weekly/events_weekly_to_artifact_by_source.sql index fa8b0d81b..6a1ce51fa 100644 --- a/warehouse/dbt/models/marts/events/weekly/events_weekly_to_artifact_by_source.sql +++ b/warehouse/dbt/models/marts/events/weekly/events_weekly_to_artifact_by_source.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': False + 'sync_to_db': False }) }} diff --git a/warehouse/dbt/models/marts/events/weekly/events_weekly_to_collection.sql b/warehouse/dbt/models/marts/events/weekly/events_weekly_to_collection.sql index 4979e5b29..bca40926a 100644 --- a/warehouse/dbt/models/marts/events/weekly/events_weekly_to_collection.sql +++ b/warehouse/dbt/models/marts/events/weekly/events_weekly_to_collection.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/events/weekly/events_weekly_to_collection_by_source.sql b/warehouse/dbt/models/marts/events/weekly/events_weekly_to_collection_by_source.sql index 126e1b307..7437fe62a 100644 --- a/warehouse/dbt/models/marts/events/weekly/events_weekly_to_collection_by_source.sql +++ b/warehouse/dbt/models/marts/events/weekly/events_weekly_to_collection_by_source.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': False + 'sync_to_db': False }) }} diff --git a/warehouse/dbt/models/marts/events/weekly/events_weekly_to_project.sql b/warehouse/dbt/models/marts/events/weekly/events_weekly_to_project.sql index 9b3bfe2bc..8da9fdcae 100644 --- a/warehouse/dbt/models/marts/events/weekly/events_weekly_to_project.sql +++ b/warehouse/dbt/models/marts/events/weekly/events_weekly_to_project.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_collection.sql b/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_collection.sql index 6332428a7..acd6bba0b 100644 --- a/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_collection.sql +++ b/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_collection.sql @@ -19,7 +19,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_project.sql b/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_project.sql index 46c611a6d..2e24e9835 100644 --- a/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_project.sql +++ b/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_project.sql @@ -19,7 +19,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_project_v2.sql b/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_project_v2.sql index 07a9a123b..4fb053087 100644 --- a/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_project_v2.sql +++ b/warehouse/dbt/models/marts/onchain_metrics/onchain_metrics_by_project_v2.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_cloudsql': False + 'sync_to_db': False }) }} diff --git a/warehouse/dbt/models/marts/project_metrics/beta/pm_contracts_deployed.sql b/warehouse/dbt/models/marts/project_metrics/beta/pm_contracts_deployed.sql index d8e5f130b..cb4c753af 100644 --- a/warehouse/dbt/models/marts/project_metrics/beta/pm_contracts_deployed.sql +++ b/warehouse/dbt/models/marts/project_metrics/beta/pm_contracts_deployed.sql @@ -5,7 +5,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': False + 'sync_to_db': False }) }} diff --git a/warehouse/dbt/models/marts/project_metrics/beta/pm_trusted_transactions.sql b/warehouse/dbt/models/marts/project_metrics/beta/pm_trusted_transactions.sql index 5302864db..e248d401a 100644 --- a/warehouse/dbt/models/marts/project_metrics/beta/pm_trusted_transactions.sql +++ b/warehouse/dbt/models/marts/project_metrics/beta/pm_trusted_transactions.sql @@ -4,7 +4,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': False + 'sync_to_db': False }) }} diff --git a/warehouse/dbt/models/marts/project_metrics/live/event_totals_by_project.sql b/warehouse/dbt/models/marts/project_metrics/live/event_totals_by_project.sql index a9898541f..5f57af625 100644 --- a/warehouse/dbt/models/marts/project_metrics/live/event_totals_by_project.sql +++ b/warehouse/dbt/models/marts/project_metrics/live/event_totals_by_project.sql @@ -8,7 +8,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/project_metrics/live/pm_contributors.sql b/warehouse/dbt/models/marts/project_metrics/live/pm_contributors.sql index a718a9ad1..06f1c7ea5 100644 --- a/warehouse/dbt/models/marts/project_metrics/live/pm_contributors.sql +++ b/warehouse/dbt/models/marts/project_metrics/live/pm_contributors.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/project_metrics/live/pm_dev_months.sql b/warehouse/dbt/models/marts/project_metrics/live/pm_dev_months.sql index 76c1806e2..946ecc11b 100644 --- a/warehouse/dbt/models/marts/project_metrics/live/pm_dev_months.sql +++ b/warehouse/dbt/models/marts/project_metrics/live/pm_dev_months.sql @@ -8,7 +8,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }} diff --git a/warehouse/dbt/models/marts/project_metrics/live/pm_new_contribs.sql b/warehouse/dbt/models/marts/project_metrics/live/pm_new_contribs.sql index 6851f7e56..c724b3238 100644 --- a/warehouse/dbt/models/marts/project_metrics/live/pm_new_contribs.sql +++ b/warehouse/dbt/models/marts/project_metrics/live/pm_new_contribs.sql @@ -3,7 +3,7 @@ #} {{ config(meta = { - 'sync_to_cloudsql': True + 'sync_to_db': True }) }}