Skip to content

Commit

Permalink
Add new boolean column "deleted" to the AutoProcProgramAttachment tab…
Browse files Browse the repository at this point in the history
…le (#249)
  • Loading branch information
KarlLevik authored Dec 5, 2024
1 parent c43ce45 commit 09e78e5
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-- To undo:
-- ALTER TABLE AutoProcProgramAttachment DROP deleted, ALGORITHM=INSTANT;

INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_12_04_AutoProcProgramAttachment_deleted.sql', 'ONGOING');

ALTER TABLE AutoProcProgramAttachment ADD deleted boolean DEFAULT FALSE COMMENT '1/TRUE if the file has been deleted', ALGORITHM=INSTANT;

UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2024_12_04_AutoProcProgramAttachment_deleted.sql';

0 comments on commit 09e78e5

Please sign in to comment.