Browse Source

user id 主键

master
liujiangyong 2 years ago
parent
commit
f6ffeea23e
  1. 2
      script/1.0.0/schema/1.init_inspection.sql

2
script/1.0.0/schema/1.init_inspection.sql

@ -7,7 +7,7 @@ START 1
CACHE 1;
DROP TABLE IF EXISTS "public"."user";
CREATE TABLE "public"."user" (
"id" int4 NOT NULL DEFAULT nextval('user_id_seq'::regclass),
"id" int4 NOT NULL PRIMARY KEY DEFAULT nextval('user_id_seq'::regclass),
"name" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
"username" varchar(64) COLLATE "pg_catalog"."default" NOT NULL,
"password" varchar(512) COLLATE "pg_catalog"."default" NOT NULL,

Loading…
Cancel
Save