Add bounded private image upload with safe S3 persistence

This commit is contained in:
Самохвалов Андрей Ремович
2026-10-02 13:24:51 +03:00
parent 22f7bcddf5
commit 412b465b85
13 changed files with 430 additions and 8 deletions
+2
View File
@@ -0,0 +1,2 @@
ALTER TABLE attachments ADD COLUMN owner_id uuid NOT NULL REFERENCES users(id);
ALTER TABLE attachments ADD COLUMN updated_at timestamptz NOT NULL DEFAULT clock_timestamp();