Commit aea86fed authored by 吴文龙's avatar 吴文龙

fix

parent 19c60647
...@@ -708,3 +708,13 @@ CREATE UNIQUE INDEX "trep_sta_detail_index1" ON "public"."trep_sta_detail" USING ...@@ -708,3 +708,13 @@ CREATE UNIQUE INDEX "trep_sta_detail_index1" ON "public"."trep_sta_detail" USING
-- Primary Key structure for table trep_sta_detail -- Primary Key structure for table trep_sta_detail
-- ---------------------------- -- ----------------------------
ALTER TABLE "public"."trep_sta_detail" ADD CONSTRAINT "trep_sta_detail_pkey" PRIMARY KEY ("tid", "did", "key"); ALTER TABLE "public"."trep_sta_detail" ADD CONSTRAINT "trep_sta_detail_pkey" PRIMARY KEY ("tid", "did", "key");
CREATE SEQUENCE trep_sta_hdetail_aid_seq
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
alter table trep_hsta_detail alter column aid set default nextval('trep_sta_hdetail_aid_seq');
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment