forked from mtusi2026/mtusi2026lab4
4 lines
149 B
SQL
4 lines
149 B
SQL
ALTER TABLE messages ADD CONSTRAINT messages_text_not_blank CHECK (length(btrim(text)) > 0);
|
|
DROP TABLE message_attachments;
|
|
DROP TABLE attachments;
|