From 5bafff7482d27fef6a3b97c6af98044b4b5228e9 Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:46:47 +0700 Subject: [PATCH] chore: add migration --- prisma/migrations/20240405094638_update/migration.sql | 8 ++++++++ prisma/schema.prisma | 1 + 2 files changed, 9 insertions(+) create mode 100644 prisma/migrations/20240405094638_update/migration.sql diff --git a/prisma/migrations/20240405094638_update/migration.sql b/prisma/migrations/20240405094638_update/migration.sql new file mode 100644 index 0000000..f5bdc4b --- /dev/null +++ b/prisma/migrations/20240405094638_update/migration.sql @@ -0,0 +1,8 @@ +/* + Warnings: + + - Added the required column `gender` to the `User` table without a default value. This is not possible if the table is not empty. + +*/ +-- AlterTable +ALTER TABLE "User" ADD COLUMN "gender" TEXT NOT NULL; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index d1f1ef4..9896ee5 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -153,6 +153,7 @@ model User { firstNameEN String lastName String lastNameEN String + gender String address String addressEN String