RezinaLMS-BackEnd/db/migrations/000111_subscription_plan_is_free.down.sql
Yared Yemane 1eb03b7e03 Add free subscription plans and enforce unique billing periods.
Introduce is_free plans with gateway-free checkout enrollment, require positive pricing for paid plans, and block duplicate category plus period combinations including free versus paid.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 21:32:33 +03:00

6 lines
163 B
SQL

ALTER TABLE subscription_plans
DROP CONSTRAINT IF EXISTS chk_subscription_plans_free_price;
ALTER TABLE subscription_plans
DROP COLUMN IF EXISTS is_free;