From 2fbebcb8c58a8ba9596350082a7f0bf74e5e406e Mon Sep 17 00:00:00 2001 From: Craig Kaiser Date: Tue, 20 Feb 2024 23:15:01 -0500 Subject: [PATCH] pull db migrations --- supabase/migrations/20240221041430_remote_schema.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 supabase/migrations/20240221041430_remote_schema.sql diff --git a/supabase/migrations/20240221041430_remote_schema.sql b/supabase/migrations/20240221041430_remote_schema.sql new file mode 100644 index 0000000..4e61ce9 --- /dev/null +++ b/supabase/migrations/20240221041430_remote_schema.sql @@ -0,0 +1,5 @@ +alter table "public"."matches" add constraint "public_matches_child_id_fkey" FOREIGN KEY (child_id) REFERENCES matches(id) ON UPDATE CASCADE ON DELETE SET NULL not valid; + +alter table "public"."matches" validate constraint "public_matches_child_id_fkey"; + +