feat: migrate file storage to postgres with sqlx
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
CREATE TABLE file_records (
|
||||
id BIGSERIAL PRIMARY KEY,
|
||||
name TEXT NOT NULL,
|
||||
file_type TEXT NOT NULL,
|
||||
size BIGINT NOT NULL,
|
||||
uploaded_at TIMESTAMPTZ NOT NULL DEFAULT NOW()
|
||||
);
|
||||
Reference in New Issue
Block a user