feat: integrate platform backend and application interfaces
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
ALTER TABLE webdav_configs
|
||||
ADD COLUMN IF NOT EXISTS retention_state TEXT NOT NULL DEFAULT 'active';
|
||||
|
||||
ALTER TABLE webdav_configs
|
||||
DROP CONSTRAINT IF EXISTS webdav_configs_retention_state_check;
|
||||
|
||||
ALTER TABLE webdav_configs
|
||||
ADD CONSTRAINT webdav_configs_retention_state_check
|
||||
CHECK (retention_state IN ('active', 'deleting', 'deleted', 'error'));
|
||||
Reference in New Issue
Block a user