Skip to content

Commit

Permalink
Fixup bgw_policy_drop_chunks update
Browse files Browse the repository at this point in the history
  • Loading branch information
cevian committed Dec 17, 2019
1 parent 4f8f9c9 commit afd275d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sql/updates/latest-dev.sql
Expand Up @@ -79,6 +79,8 @@ CREATE INDEX continuous_aggs_materialization_invalidation_log_idx
ON _timescaledb_catalog.continuous_aggs_materialization_invalidation_log (materialization_id, lowest_modified_value ASC);
GRANT SELECT ON _timescaledb_catalog.continuous_aggs_materialization_invalidation_log TO PUBLIC;

ALTER TABLE _timescaledb_config.bgw_policy_drop_chunks ALTER COLUMN cascade_to_materializations DROP NOT NULL;

ALTER TABLE _timescaledb_catalog.chunk ADD COLUMN dropped BOOLEAN DEFAULT false;
UPDATE _timescaledb_catalog.chunk SET dropped = false;
ALTER TABLE _timescaledb_catalog.chunk ALTER COLUMN dropped SET NOT NULL;
Expand Down

0 comments on commit afd275d

Please sign in to comment.