Database auth is fully fixed and functional except for outbound firebase.
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
- args:
|
||||
sql: DROP TABLE "public"."associations"
|
||||
type: run_sql
|
||||
@@ -0,0 +1,14 @@
|
||||
- args:
|
||||
sql: CREATE EXTENSION IF NOT EXISTS pgcrypto;
|
||||
type: run_sql
|
||||
- args:
|
||||
sql: CREATE TABLE "public"."associations"("id" uuid NOT NULL DEFAULT gen_random_uuid(),
|
||||
"shopid" uuid NOT NULL, "useremail" text NOT NULL, PRIMARY KEY ("id") , FOREIGN
|
||||
KEY ("shopid") REFERENCES "public"."bodyshops"("id") 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
|
||||
Reference in New Issue
Block a user