/*
  Warnings:

  - Changed the type of `code` on the `plans` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.

*/
-- AlterTable
ALTER TABLE "plans" ADD COLUMN     "isActive" BOOLEAN NOT NULL DEFAULT true;

-- AlterEnum -> Text (preserve existing values)
ALTER TABLE "plans" ALTER COLUMN "code" TYPE TEXT USING "code"::text;

-- DropEnum
DROP TYPE "PlanCode";
