diff --git a/elementary/monitor/dbt_project/models/alerts/alerts.sql b/elementary/monitor/dbt_project/models/alerts/alerts.sql index 94461ff1f..94e327aee 100644 --- a/elementary/monitor/dbt_project/models/alerts/alerts.sql +++ b/elementary/monitor/dbt_project/models/alerts/alerts.sql @@ -3,7 +3,7 @@ materialized = 'incremental', unique_key = 'alert_id', merge_update_columns = ['alert_id'], - on_schema_change = 'append_new_columns', + on_schema_change = 'sync_all_columns', table_type=elementary.get_default_table_type(), incremental_strategy=elementary.get_default_incremental_strategy() ) diff --git a/elementary/monitor/dbt_project/models/alerts/alerts_models.sql b/elementary/monitor/dbt_project/models/alerts/alerts_models.sql index a2ab1b3d5..aa2dc89d1 100644 --- a/elementary/monitor/dbt_project/models/alerts/alerts_models.sql +++ b/elementary/monitor/dbt_project/models/alerts/alerts_models.sql @@ -3,7 +3,7 @@ materialized = 'incremental', unique_key = 'alert_id', merge_update_columns = ['alert_id'], - on_schema_change = 'append_new_columns', + on_schema_change = 'sync_all_columns', table_type=elementary.get_default_table_type(), incremental_strategy=elementary.get_default_incremental_strategy() ) diff --git a/elementary/monitor/dbt_project/models/alerts/alerts_source_freshness.sql b/elementary/monitor/dbt_project/models/alerts/alerts_source_freshness.sql index 972c2dac3..de07a8b3f 100644 --- a/elementary/monitor/dbt_project/models/alerts/alerts_source_freshness.sql +++ b/elementary/monitor/dbt_project/models/alerts/alerts_source_freshness.sql @@ -3,7 +3,7 @@ materialized = 'incremental', unique_key = 'alert_id', merge_update_columns = ['alert_id'], - on_schema_change = 'append_new_columns', + on_schema_change = 'sync_all_columns', table_type=elementary.get_default_table_type(), incremental_strategy=elementary.get_default_incremental_strategy() )