S3-хранилище и вложения, трек 1

This commit is contained in:
Queenfish
2026-10-29 00:03:34 +03:00
parent ec540a1a72
commit 32e105cc87
66 changed files with 5265 additions and 30 deletions
+6
View File
@@ -0,0 +1,6 @@
CREATE TABLE IF NOT EXISTS sessions (
token TEXT PRIMARY KEY,
user_id UUID NOT NULL REFERENCES users(id) ON DELETE CASCADE,
created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
expires_at TIMESTAMPTZ NOT NULL
);