jws-backend/prisma/migrations/20250106045533_default_credit_note_status/migration.sql
2025-01-06 11:55:41 +07:00

9 lines
301 B
SQL

/*
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';