HotTRDealsBackend/prisma/migrations/20260202021140_edit_notifications/migration.sql
2026-02-04 06:39:10 +00:00

12 lines
430 B
SQL

/*
Warnings:
- You are about to drop the column `title` on the `Notification` table. All the data in the column will be lost.
- Added the required column `message` to the `Notification` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "Notification" DROP COLUMN "title",
ADD COLUMN "message" TEXT NOT NULL,
ADD COLUMN "type" TEXT NOT NULL DEFAULT 'INFO';