Merge pull request #6924 from influxdata/dom/soft-delete-namespaces
refactor(catalog): soft delete namespace columnpull/24376/head
commit
00fd545a18
|
@ -0,0 +1,9 @@
|
|||
-- Add a soft-deletion timestamp to the "namespace" table.
|
||||
--
|
||||
-- <https://github.com/influxdata/influxdb_iox/issues/6492>
|
||||
ALTER TABLE
|
||||
namespace
|
||||
ADD
|
||||
COLUMN deleted_at BIGINT DEFAULT NULL;
|
||||
|
||||
CREATE INDEX namespace_deleted_at_idx ON namespace (deleted_at);
|
|
@ -0,0 +1,9 @@
|
|||
-- Add a soft-deletion timestamp to the "namespace" table.
|
||||
--
|
||||
-- <https://github.com/influxdata/influxdb_iox/issues/6492>
|
||||
ALTER TABLE
|
||||
namespace
|
||||
ADD
|
||||
COLUMN deleted_at numeric DEFAULT NULL;
|
||||
|
||||
CREATE INDEX namespace_deleted_at_idx ON namespace (deleted_at);
|
Loading…
Reference in New Issue