diff --git a/apps/web/prisma/migrations/20250627111946_update_digest/migration.sql b/apps/web/prisma/migrations/20250627111946_update_digest/migration.sql new file mode 100644 index 0000000000..36abdbb2a0 --- /dev/null +++ b/apps/web/prisma/migrations/20250627111946_update_digest/migration.sql @@ -0,0 +1,14 @@ +/* + Warnings: + + - You are about to drop the column `digestScheduleId` on the `EmailAccount` table. All the data in the column will be lost. + +*/ +-- DropForeignKey +ALTER TABLE "EmailAccount" DROP CONSTRAINT IF EXISTS "EmailAccount_digestScheduleId_fkey"; + +-- DropIndex +DROP INDEX IF EXISTS "EmailAccount_digestScheduleId_key"; + +-- AlterTable +ALTER TABLE "EmailAccount" DROP COLUMN IF EXISTS "digestScheduleId";