From 8bf68423c8c36bf1b25547c8fc90769c6bd83e7b Mon Sep 17 00:00:00 2001 From: Carl Cervone <42869436+ccerv1@users.noreply.github.com> Date: Fri, 24 May 2024 22:23:20 -0400 Subject: [PATCH] fix: roll back hasura (#1528) * fix: roll back hasura * set sync_to_db to false --- .../cloudsql/tables/contracts_v1.yaml | 22 ------------------- .../databases/cloudsql/tables/tables.yaml | 1 - .../models/marts/directory/contracts_v1.sql | 2 +- 3 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 apps/hasura/metadata/databases/cloudsql/tables/contracts_v1.yaml diff --git a/apps/hasura/metadata/databases/cloudsql/tables/contracts_v1.yaml b/apps/hasura/metadata/databases/cloudsql/tables/contracts_v1.yaml deleted file mode 100644 index 8df40878c..000000000 --- a/apps/hasura/metadata/databases/cloudsql/tables/contracts_v1.yaml +++ /dev/null @@ -1,22 +0,0 @@ -table: - name: contracts_v1 - schema: public -select_permissions: - - role: anonymous - permission: - columns: "*" - filter: {} - allow_aggregations: false - comment: "" - - role: user - permission: - columns: "*" - filter: {} - allow_aggregations: false - comment: "" - - role: developer - permission: - columns: "*" - filter: {} - allow_aggregations: true - comment: "" diff --git a/apps/hasura/metadata/databases/cloudsql/tables/tables.yaml b/apps/hasura/metadata/databases/cloudsql/tables/tables.yaml index 08131ab61..8d3c4689d 100644 --- a/apps/hasura/metadata/databases/cloudsql/tables/tables.yaml +++ b/apps/hasura/metadata/databases/cloudsql/tables/tables.yaml @@ -2,7 +2,6 @@ - "!include artifacts_v1.yaml" - "!include code_metrics_by_project_v1.yaml" - "!include collections_v1.yaml" -- "!include contracts_v1.yaml" - "!include event_indexing_status_by_project_v1.yaml" - "!include event_types_v1.yaml" - "!include events_daily_to_artifact.yaml" diff --git a/warehouse/dbt/models/marts/directory/contracts_v1.sql b/warehouse/dbt/models/marts/directory/contracts_v1.sql index 7d91fa070..cdb43362b 100644 --- a/warehouse/dbt/models/marts/directory/contracts_v1.sql +++ b/warehouse/dbt/models/marts/directory/contracts_v1.sql @@ -1,6 +1,6 @@ {{ config(meta = { - 'sync_to_db': True + 'sync_to_db': False }) }}