lab3 completed

This commit is contained in:
kuruoni
2026-11-24 23:07:02 +03:00
parent 0ab3a341aa
commit 06e12d8734
26 changed files with 1034 additions and 33 deletions
+5
View File
@@ -0,0 +1,5 @@
ALTER TABLE messages
ADD COLUMN IF NOT EXISTS idempotency_key VARCHAR(128);
CREATE UNIQUE INDEX IF NOT EXISTS idx_messages_idempotency
ON messages (sender_id, chat_id, idempotency_key);