feature: add person schema in hasura

This commit is contained in:
Sammy Teillet
2023-04-20 11:45:16 +02:00
parent 874b920571
commit 79f274c355
4 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,3 @@
table:
name: person
schema: public

View File

@ -1 +1,2 @@
- "!include public_person.yaml"
- "!include public_workspaces.yaml"

View File

@ -0,0 +1 @@
DROP TABLE "public"."person";

View File

@ -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"));