feature: add company and link person to company and workspace

This commit is contained in:
Sammy Teillet
2023-04-20 12:07:12 +02:00
parent 79f274c355
commit 63c31b4290
17 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1 @@
CREATE TABLE "public"."company" ("id" serial NOT NULL, "company_name" text NOT NULL, "company_domain" text NOT NULL, "workspace_id" integer NOT NULL, PRIMARY KEY ("id") , FOREIGN KEY ("workspace_id") REFERENCES "public"."workspaces"("id") ON UPDATE restrict ON DELETE restrict);