committed by
Bryan Frimin
parent
41de7c2f7f
commit
e6f9d7aae2
@@ -39,5 +39,3 @@ WHERE approver_profile_id IS NOT NULL;
|
||||
|
||||
-- Allow NULL on old columns now that data is in the join tables
|
||||
ALTER TABLE document_versions ALTER COLUMN approver_profile_id DROP NOT NULL;
|
||||
|
||||
-- TODO: Drop the old columns
|
||||
|
||||
@@ -1,6 +1 @@
|
||||
ALTER TABLE controls ALTER COLUMN status DROP NOT NULL;
|
||||
|
||||
-- TODO: drop columns and type once all code references are fully removed
|
||||
-- ALTER TABLE controls DROP COLUMN status;
|
||||
-- ALTER TABLE controls DROP COLUMN exclusion_justification;
|
||||
-- DROP TYPE control_status;
|
||||
|
||||
6
pkg/coredata/migrations/20260217T130000Z.sql
Normal file
6
pkg/coredata/migrations/20260217T130000Z.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE documents DROP COLUMN approver_profile_id;
|
||||
ALTER TABLE document_versions DROP COLUMN approver_profile_id;
|
||||
|
||||
ALTER TABLE controls DROP COLUMN status;
|
||||
ALTER TABLE controls DROP COLUMN exclusion_justification;
|
||||
DROP TYPE control_status;
|
||||
Reference in New Issue
Block a user