Files
sign/packages/prisma/migrations/20241121001411_add_reminder_interval_enum/migration.sql
2024-11-21 12:12:30 +00:00

13 lines
467 B
SQL

/*
Warnings:
- You are about to drop the column `reminderDays` on the `DocumentMeta` table. All the data in the column will be lost.
*/
-- CreateEnum
CREATE TYPE "ReminderInterval" AS ENUM ('NONE', 'EVERY_1_HOUR', 'EVERY_6_HOURS', 'EVERY_12_HOURS', 'DAILY', 'EVERY_3_DAYS', 'WEEKLY', 'EVERY_2_WEEKS', 'MONTHLY');
-- AlterTable
ALTER TABLE "DocumentMeta" DROP COLUMN "reminderDays",
ADD COLUMN "reminderInterval" "ReminderInterval" NOT NULL DEFAULT 'NONE';