Skip to content

Commit 95c1776

Browse files
committed
chore: 修正 pgsql 数据脚本错误
Closes #38
1 parent fbc0269 commit 95c1776

File tree

1 file changed

+1
-1
lines changed
  • continew-server/src/main/resources/db/changelog/postgresql

1 file changed

+1
-1
lines changed

continew-server/src/main/resources/db/changelog/postgresql/main_table.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ CREATE TABLE IF NOT EXISTS "sys_file" (
520520
"extension" varchar(100) DEFAULT NULL,
521521
"content_type" varchar(255) DEFAULT NULL,
522522
"type" int2 NOT NULL DEFAULT 1,
523-
"sha256" varchar(256) NOT NULL,
523+
"sha256" varchar(256) DEFAULT NULL,
524524
"metadata" text DEFAULT NULL,
525525
"thumbnail_name" varchar(255) DEFAULT NULL,
526526
"thumbnail_size" int8 DEFAULT NULL,

0 commit comments

Comments
 (0)