修复member_user pg脚本中没有默认值导致创建用户失败的bug
This commit is contained in:
parent
a918b54b28
commit
1b558a02b0
@ -1487,13 +1487,13 @@ COMMIT;
|
||||
DROP TABLE IF EXISTS "member_user";
|
||||
CREATE TABLE "member_user" (
|
||||
"id" int8 NOT NULL,
|
||||
"nickname" varchar(30) COLLATE "pg_catalog"."default" NOT NULL,
|
||||
"avatar" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
|
||||
"nickname" varchar(30) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
|
||||
"avatar" varchar(255) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
|
||||
"status" int2 NOT NULL,
|
||||
"mobile" varchar(11) COLLATE "pg_catalog"."default" NOT NULL,
|
||||
"password" varchar(100) COLLATE "pg_catalog"."default" NOT NULL,
|
||||
"password" varchar(100) COLLATE "pg_catalog"."default" NOT NULL DEFAULT '',
|
||||
"register_ip" varchar(32) COLLATE "pg_catalog"."default" NOT NULL,
|
||||
"login_ip" varchar(50) COLLATE "pg_catalog"."default",
|
||||
"login_ip" varchar(50) COLLATE "pg_catalog"."default" DEFAULT '',
|
||||
"login_date" timestamp(6),
|
||||
"creator" varchar(64) COLLATE "pg_catalog"."default",
|
||||
"create_time" timestamp(6) NOT NULL,
|
||||
@ -4239,7 +4239,7 @@ CREATE TABLE "system_notify_message" (
|
||||
"template_content" varchar(1024) COLLATE "pg_catalog"."default" NOT NULL,
|
||||
"template_type" int4 NOT NULL,
|
||||
"template_params" varchar(255) COLLATE "pg_catalog"."default" NOT NULL,
|
||||
"read_status"" bool NOT NULL,
|
||||
"read_status" bool NOT NULL,
|
||||
"read_time" timestamp(6),
|
||||
"creator" varchar(64) COLLATE "pg_catalog"."default",
|
||||
"create_time" timestamp(6) NOT NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user