feat(backend): scope files to users with FK user_id, rename storage_path to storage_key for clarity
This commit is contained in:
@@ -0,0 +1 @@
|
||||
ALTER TABLE file_records ADD COLUMN user_id BIGINT NOT NULL REFERENCES users(id);
|
||||
@@ -0,0 +1 @@
|
||||
ALTER TABLE file_records RENAME COLUMN storage_path TO storage_key;
|
||||
Reference in New Issue
Block a user