ЛР5: устойчивый versioned pipeline изображений, outbox и доказательства отказов

This commit is contained in:
2026-11-06 18:27:29 +03:00
parent 276dbdad8a
commit 7f51c6ac3b
78 changed files with 7278 additions and 65 deletions
+10
View File
@@ -0,0 +1,10 @@
CREATE TABLE message_requests (
actor_id uuid NOT NULL REFERENCES users(id),
chat_id uuid NOT NULL REFERENCES chats(id),
key text NOT NULL,
body_digest text NOT NULL,
response jsonb NOT NULL,
expires_at timestamptz NOT NULL,
PRIMARY KEY(actor_id,chat_id,key)
);
CREATE INDEX message_requests_expiry_idx ON message_requests(expires_at);