Merge pull request #6030 from influxdata/ntran/catalog-retention

feat: add catalog columns needed for retention policy
pull/24376/head
Nga Tran 2022-11-01 15:56:33 -04:00 committed by GitHub
commit 50061cd2fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -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;