cal.pub0.org/prisma/migrations/20210902121313_user_plan/migration.sql

6 lines
164 B
SQL

-- CreateEnum
CREATE TYPE "UserPlan" AS ENUM ('FREE', 'TRIAL', 'PRO');
-- AlterTable
ALTER TABLE "users" ADD COLUMN "plan" "UserPlan" NOT NULL DEFAULT E'PRO';