From 2654633f9c6b8bb0d701ce34503e39286c8f2bf3 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Tue, 7 Jan 2025 09:39:47 +0700 Subject: [PATCH] chore: migration --- .../20250107023936_add_code_field/migration.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 prisma/migrations/20250107023936_add_code_field/migration.sql diff --git a/prisma/migrations/20250107023936_add_code_field/migration.sql b/prisma/migrations/20250107023936_add_code_field/migration.sql new file mode 100644 index 0000000..e64b47f --- /dev/null +++ b/prisma/migrations/20250107023936_add_code_field/migration.sql @@ -0,0 +1,8 @@ +/* + Warnings: + + - Added the required column `code` to the `CreditNote` table without a default value. This is not possible if the table is not empty. + +*/ +-- AlterTable +ALTER TABLE "CreditNote" ADD COLUMN "code" TEXT NOT NULL;