Implement lab5 asynchronous image processing

This commit is contained in:
2026-11-17 19:25:09 +03:00
parent 276dbdad8a
commit 610732b49b
35 changed files with 3231 additions and 19 deletions
@@ -0,0 +1,13 @@
-- Lab4: messages with attachments may have empty text.
-- The API checks that a message contains text or attachments.
ALTER TABLE messages
DROP CONSTRAINT IF EXISTS message_length;
ALTER TABLE messages
DROP CONSTRAINT IF EXISTS message_not_blank;
ALTER TABLE messages
ADD CONSTRAINT message_length
CHECK (char_length(text) <= 4000);