Skip to content

Commit 0661321

Browse files
committed
Add facility operator
Add type to facility operator table Lint Remove typo in constraint
1 parent 9ca50a9 commit 0661321

5 files changed

Lines changed: 2152 additions & 1 deletion

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
CREATE TABLE "facility_operator" (
2+
"id" uuid PRIMARY KEY NOT NULL,
3+
"abbreviation" text,
4+
"name" text,
5+
"type" text,
6+
CONSTRAINT "facility_operator_type_options" CHECK ("facility_operator"."type" IN (
7+
'Public',
8+
'Non-public'
9+
))
10+
);

0 commit comments

Comments
 (0)