diff --git a/prisma/migrations/20241211025601_add_new_status/migration.sql b/prisma/migrations/20241211025601_add_new_status/migration.sql new file mode 100644 index 0000000..4524adc --- /dev/null +++ b/prisma/migrations/20241211025601_add_new_status/migration.sql @@ -0,0 +1,10 @@ +-- AlterEnum +-- This migration adds more than one value to an enum. +-- With PostgreSQL versions 11 and earlier, this is not possible +-- in a single migration. This can be worked around by creating +-- multiple migrations, each migration adding only one value to +-- the enum. + + +ALTER TYPE "TaskStatus" ADD VALUE 'Success'; +ALTER TYPE "TaskStatus" ADD VALUE 'Failed';