influxdb/iox_catalog/migrations/20220909140048_create_skipp...

7 lines
210 B
SQL

CREATE TABLE IF NOT EXISTS skipped_compactions (
partition_id BIGINT REFERENCES PARTITION (id) ON DELETE CASCADE,
reason TEXT NOT NULL,
skipped_at BIGINT NOT NULL,
PRIMARY KEY (partition_id)
);