forked from mtusi2026/mtusi2026lab5
Forward the lab 4 foundation and migrate the lab 5 pipeline to SQLAlchemy
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
ALTER TABLE attachments
|
||||
ADD COLUMN quarantine_reason text
|
||||
CHECK (quarantine_reason IN ('missing', 'size_mismatch', 'sha_mismatch')),
|
||||
ADD COLUMN quarantined_at timestamptz,
|
||||
ADD CONSTRAINT attachments_quarantine_check
|
||||
CHECK ((quarantine_reason IS NULL) = (quarantined_at IS NULL));
|
||||
Reference in New Issue
Block a user