feat: port messenger from lab 5

This commit is contained in:
Dmitrii Grishko
2026-11-13 17:34:54 +03:00
parent 470d9d6f1e
commit d993866881
125 changed files with 12377 additions and 0 deletions
@@ -0,0 +1,7 @@
CREATE TABLE upload_attempts (
id uuid PRIMARY KEY,
object_key text NOT NULL UNIQUE,
created_at timestamptz NOT NULL DEFAULT clock_timestamp(),
cleanup_after timestamptz NOT NULL
);
CREATE INDEX upload_attempts_cleanup_idx ON upload_attempts(cleanup_after,id);