From 498851eaf58d028d76e163592c4c7073f3f7d9f9 Mon Sep 17 00:00:00 2001 From: NGA-TRAN Date: Tue, 1 Nov 2022 15:35:15 -0400 Subject: [PATCH] feat: add catalog columns needed for retention policy --- .../20221101170001_add_cols_for_retention_policy.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 iox_catalog/migrations/20221101170001_add_cols_for_retention_policy.sql diff --git a/iox_catalog/migrations/20221101170001_add_cols_for_retention_policy.sql b/iox_catalog/migrations/20221101170001_add_cols_for_retention_policy.sql new file mode 100644 index 0000000000..cbd4f80f7e --- /dev/null +++ b/iox_catalog/migrations/20221101170001_add_cols_for_retention_policy.sql @@ -0,0 +1,6 @@ +ALTER TABLE IF EXISTS namespace + ADD COLUMN IF NOT EXISTS retention_period_ns BIGINT DEFAULT NULL; + + +ALTER TABLE IF EXISTS partition + ADD COLUMN IF NOT EXISTS to_delete BIGINT DEFAULT NULL; \ No newline at end of file