Skip to content

Commit 815f20b

Browse files
lruzickilruzicki
andauthored
OTC-1080: PK updated when serial was needed (#14)
Co-authored-by: lruzicki <[email protected]>
1 parent 8520f56 commit 815f20b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

database scripts/00_dump.sql

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3844,7 +3844,7 @@ ALTER SEQUENCE "public"."tblPayer_PayerID_seq" OWNED BY "public"."tblPayer"."Pay
38443844
--
38453845

38463846
CREATE TABLE "public"."tblPayment" (
3847-
"PaymentID" bigint NOT NULL,
3847+
"PaymentID" bigserial NOT NULL,
38483848
"PaymentUUID" "uuid" NOT NULL,
38493849
"ExpectedAmount" numeric(18,2),
38503850
"ReceivedAmount" numeric(18,2),
@@ -3883,7 +3883,7 @@ CREATE TABLE "public"."tblPayment" (
38833883
--
38843884

38853885
CREATE TABLE "public"."tblPaymentDetails" (
3886-
"PaymentDetailsID" bigint NOT NULL,
3886+
"PaymentDetailsID" bigserial NOT NULL,
38873887
"PaymentID" bigint NOT NULL,
38883888
"ProductCode" character varying(8),
38893889
"InsuranceNumber" character varying(12),
@@ -3987,7 +3987,7 @@ CREATE TABLE "public"."tblPolicy" (
39873987
--
39883988

39893989
CREATE TABLE "public"."tblPolicyRenewalDetails" (
3990-
"RenewalDetailID" integer NOT NULL,
3990+
"RenewalDetailID" SERIAL NOT NULL,
39913991
"RenewalID" integer NOT NULL,
39923992
"InsureeID" integer NOT NULL,
39933993
"ValidityFrom" timestamp with time zone NOT NULL,
@@ -4005,7 +4005,7 @@ CREATE TABLE "public"."tblPolicyRenewalDetails" (
40054005
--
40064006

40074007
CREATE TABLE "public"."tblPolicyRenewals" (
4008-
"RenewalID" integer NOT NULL,
4008+
"RenewalID" SERIAL NOT NULL,
40094009
"RenewalPromptDate" "date" NOT NULL,
40104010
"RenewalDate" "date" NOT NULL,
40114011
"NewOfficerID" integer,

0 commit comments

Comments
 (0)