jws-backend/prisma/migrations/20250106045533_default_credit_note_status/migration.sql

10 lines
301 B
MySQL
Raw Permalink Normal View History

2025-01-06 11:55:41 +07:00
/*
Warnings:
- Made the column `creditNoteStatus` on table `CreditNote` required. This step will fail if there are existing NULL values in that column.
*/
-- AlterTable
ALTER TABLE "CreditNote" ALTER COLUMN "creditNoteStatus" SET NOT NULL,
ALTER COLUMN "creditNoteStatus" SET DEFAULT 'Pending';