Skip to content

Commit 09e78e5

Browse files
authored
Add new boolean column "deleted" to the AutoProcProgramAttachment table (#249)
1 parent c43ce45 commit 09e78e5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
-- To undo:
2+
-- ALTER TABLE AutoProcProgramAttachment DROP deleted, ALGORITHM=INSTANT;
3+
4+
INSERT IGNORE INTO SchemaStatus (scriptName, schemaStatus) VALUES ('2024_12_04_AutoProcProgramAttachment_deleted.sql', 'ONGOING');
5+
6+
ALTER TABLE AutoProcProgramAttachment ADD deleted boolean DEFAULT FALSE COMMENT '1/TRUE if the file has been deleted', ALGORITHM=INSTANT;
7+
8+
UPDATE SchemaStatus SET schemaStatus = 'DONE' WHERE scriptName = '2024_12_04_AutoProcProgramAttachment_deleted.sql';

0 commit comments

Comments
 (0)