diff --git a/script/1.0.0/schema/1.init_inspection.sql b/script/1.0.0/schema/1.init_inspection.sql index 83480a9..7d428ae 100644 --- a/script/1.0.0/schema/1.init_inspection.sql +++ b/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,