Loading packages/server/prisma/migrations/20240710004625_add_canvas_size_and_canvas_fill_audit_log_types/migration.sql 0 → 100644 +19 −0 Original line number Diff line number Diff line /* Warnings: - You are about to drop the column `deletedAt` on the `Ban` table. All the data in the column will be lost. */ -- 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 "AuditLogAction" ADD VALUE 'CANVAS_SIZE'; ALTER TYPE "AuditLogAction" ADD VALUE 'CANVAS_FILL'; -- AlterTable ALTER TABLE "Ban" DROP COLUMN "deletedAt"; Loading
packages/server/prisma/migrations/20240710004625_add_canvas_size_and_canvas_fill_audit_log_types/migration.sql 0 → 100644 +19 −0 Original line number Diff line number Diff line /* Warnings: - You are about to drop the column `deletedAt` on the `Ban` table. All the data in the column will be lost. */ -- 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 "AuditLogAction" ADD VALUE 'CANVAS_SIZE'; ALTER TYPE "AuditLogAction" ADD VALUE 'CANVAS_FILL'; -- AlterTable ALTER TABLE "Ban" DROP COLUMN "deletedAt";