chore: 修正 pgsql 数据脚本错误

Closes #38
This commit is contained in:
2025-11-11 21:25:00 +08:00
parent fbc0269b3c
commit 95c1776606

View File

@@ -520,7 +520,7 @@ CREATE TABLE IF NOT EXISTS "sys_file" (
"extension" varchar(100) DEFAULT NULL, "extension" varchar(100) DEFAULT NULL,
"content_type" varchar(255) DEFAULT NULL, "content_type" varchar(255) DEFAULT NULL,
"type" int2 NOT NULL DEFAULT 1, "type" int2 NOT NULL DEFAULT 1,
"sha256" varchar(256) NOT NULL, "sha256" varchar(256) DEFAULT NULL,
"metadata" text DEFAULT NULL, "metadata" text DEFAULT NULL,
"thumbnail_name" varchar(255) DEFAULT NULL, "thumbnail_name" varchar(255) DEFAULT NULL,
"thumbnail_size" int8 DEFAULT NULL, "thumbnail_size" int8 DEFAULT NULL,