Files
classroomio/supabase/migrations/20250106020355_polar_setup.sql
T
Rotimi Best de1398b3a2 feat: migrate from lemonsqueezy to polar (#535)
* feat: move from lemonsqueezy to polar

* update lock

* add migration files

* test with demo product id
2025-01-06 03:36:00 +01:00

7 lines
449 B
SQL

alter table "public"."organization_plan" add column "provider" text default 'lmz'::text;
alter table "public"."organization_plan" add column "subscription_id" text not null;
CREATE UNIQUE INDEX organization_plan_subscription_id_key ON public.organization_plan USING btree (subscription_id);
alter table "public"."organization_plan" add constraint "organization_plan_subscription_id_key" UNIQUE using index "organization_plan_subscription_id_key";