Fix integrity error, add unique index and remove aoid from PK
This commit is contained in:
@@ -9,7 +9,8 @@ CREATE TABLE "public"."ADDROBJ" (
|
||||
"parentguid" UUID,
|
||||
"actstatus" BIT(1),
|
||||
"currstatus" INT2,
|
||||
PRIMARY KEY ("id", "aoid")
|
||||
CONSTRAINT "aoid" UNIQUE ("aoid"),
|
||||
CONSTRAINT "id" PRIMARY KEY ("id")
|
||||
)
|
||||
WITH (OIDS =FALSE
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user