stacker.news/prisma/migrations/20220224203227_item_status/migration.sql

7 lines
211 B
MySQL
Raw Normal View History

2022-02-25 17:34:09 +00:00
-- CreateEnum
CREATE TYPE "Status" AS ENUM ('ACTIVE', 'STOPPED', 'NOSATS');
-- AlterTable
ALTER TABLE "Item" ADD COLUMN "noSatsAt" TIMESTAMP(3),
ADD COLUMN "status" "Status" NOT NULL DEFAULT E'ACTIVE';