From 37f46b68c799f82b7c30d47934902c51a96280b4 Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Mon, 6 Jan 2025 04:00:19 +0100 Subject: [PATCH] fix: make subscription_id not required --- supabase/migrations/20250106020355_polar_setup.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/supabase/migrations/20250106020355_polar_setup.sql b/supabase/migrations/20250106020355_polar_setup.sql index 66840934..30cc08d5 100644 --- a/supabase/migrations/20250106020355_polar_setup.sql +++ b/supabase/migrations/20250106020355_polar_setup.sql @@ -1,6 +1,6 @@ alter table "public"."organization_plan" add column "provider" text default 'lmz'::text; -alter table "public"."organization_plan" add column "subscription_id" text not null; +alter table "public"."organization_plan" add column "subscription_id"; CREATE UNIQUE INDEX organization_plan_subscription_id_key ON public.organization_plan USING btree (subscription_id);