fix/makes persons customerID field required
This commit is contained in:
parent
32066a56af
commit
b1cf768d9e
@ -35,7 +35,7 @@ CREATE TABLE "customers" (
|
||||
|
||||
CREATE TABLE "persons" (
|
||||
"ID" bigserial UNIQUE PRIMARY KEY NOT NULL,
|
||||
"customerID" bigserial,
|
||||
"customerID" bigserial NOT NULL,
|
||||
"firstname" varchar NOT NULL,
|
||||
"lastname" varchar NOT NULL,
|
||||
"birthday" timestamptz NOT NULL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user