ad/prisma/migrations/20231205142727_status/migration.sql

6 lines
182 B
MySQL
Raw Normal View History

2023-12-06 14:51:46 +00:00
-- CreateEnum
CREATE TYPE "Status" AS ENUM ('PENDING', 'VALID', 'INVALID', 'SUSPENDED');
-- AlterTable
ALTER TABLE "ad" ADD COLUMN "status" "Status" NOT NULL DEFAULT 'PENDING';