feature: add person schema in hasura

This commit is contained in:
Sammy Teillet
2023-04-20 13:58:52 +02:00
parent 874b920571
commit 79f274c355
4 changed files with 6 additions and 0 deletions
@@ -0,0 +1,3 @@
table:
name: person
schema: public
@@ -1 +1,2 @@
- "!include public_person.yaml"
- "!include public_workspaces.yaml"
@@ -0,0 +1 @@
DROP TABLE "public"."person";
@@ -0,0 +1 @@
CREATE TABLE "public"."person" ("id" serial NOT NULL, "firstname" text, "lastname" text NOT NULL, "company_domain" text, "phone" text, "city" text, PRIMARY KEY ("id") , UNIQUE ("id"));