From c74695c3a83932f4293f2d15b6b5d517fc7dac31 Mon Sep 17 00:00:00 2001 From: Roberto Milla Martinez Date: Mon, 11 Nov 2024 17:55:52 +0100 Subject: [PATCH] fix: migrations --- ...add_crm_status_to_help_request_and_policy_for_mod_update.sql | 2 +- .../migrations/20241111135129_add_notes_to_help_requests.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/supabase/migrations/20241110223829_add_crm_status_to_help_request_and_policy_for_mod_update.sql b/supabase/migrations/20241110223829_add_crm_status_to_help_request_and_policy_for_mod_update.sql index cf02192..a2a40c0 100644 --- a/supabase/migrations/20241110223829_add_crm_status_to_help_request_and_policy_for_mod_update.sql +++ b/supabase/migrations/20241110223829_add_crm_status_to_help_request_and_policy_for_mod_update.sql @@ -1,4 +1,4 @@ -alter table "public"."help_requests" add column "crm_status" text; +ALTER TABLE "public"."help_requests" ADD IF NOT EXISTS "crm_status" text; create policy "Mod update" on "public"."help_requests" diff --git a/supabase/migrations/20241111135129_add_notes_to_help_requests.sql b/supabase/migrations/20241111135129_add_notes_to_help_requests.sql index 5e5f86f..1a40ad7 100644 --- a/supabase/migrations/20241111135129_add_notes_to_help_requests.sql +++ b/supabase/migrations/20241111135129_add_notes_to_help_requests.sql @@ -1 +1 @@ -alter table "public"."help_requests" add column "notes" text; \ No newline at end of file +alter table "public"."help_requests" ADD IF NOT EXISTS "notes" text; \ No newline at end of file