complete backend

This commit is contained in:
yanghao05
2025-04-11 14:48:36 +08:00
parent 736991e3ea
commit 79972e963c
10 changed files with 131 additions and 21 deletions

View File

@@ -6,7 +6,8 @@ CREATE TABLE medias(
name varchar(255) NOT NULL DEFAULT '',
mime_type varchar(128) NOT NULL DEFAULT '',
size int8 NOT NULL DEFAULT 0,
path varchar(255) NOT NULL DEFAULT ''
path varchar(255) NOT NULL DEFAULT '',
hash varchar(64) NOT NULL DEFAULT ''
);
-- +goose StatementEnd