Added job list container. Removed all previous migrations.

This commit is contained in:
Patrick Fic
2019-12-06 09:26:50 -08:00
parent f875e9611b
commit ab1e4d5424
85 changed files with 104 additions and 1088 deletions

View File

@@ -0,0 +1,3 @@
- args:
sql: DROP TABLE "public"."associations"
type: run_sql

View File

@@ -0,0 +1,11 @@
- args:
sql: CREATE TABLE "public"."associations"("shopid" uuid NOT NULL, "useremail"
text NOT NULL, "active" boolean NOT NULL DEFAULT false, PRIMARY KEY ("shopid","useremail")
, FOREIGN KEY ("shopid") REFERENCES "public"."bodyshops"("shopid") ON UPDATE
restrict ON DELETE restrict, FOREIGN KEY ("useremail") REFERENCES "public"."users"("email")
ON UPDATE restrict ON DELETE restrict);
type: run_sql
- args:
name: associations
schema: public
type: add_existing_table_or_view