fix/makes persons customerID field required

This commit is contained in:
itsscb 2023-09-18 15:15:10 +02:00
parent 32066a56af
commit b1cf768d9e

View File

@ -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,