12 lines
348 B
SQL
12 lines
348 B
SQL
/*
|
|
Warnings:
|
|
|
|
- Added the required column `status` to the `subscriptions` table without a default value. This is not possible if the table is not empty.
|
|
|
|
*/
|
|
-- CreateEnum
|
|
CREATE TYPE "SubscriptionStatus" AS ENUM ('ACTIVE', 'TRIAL', 'SUSPENDED');
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "subscriptions" ADD COLUMN "status" "SubscriptionStatus" NOT NULL;
|