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

7 lines
211 B
SQL

-- 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';