feat: update schema

This commit is contained in:
Methapon2001 2024-06-10 14:12:10 +07:00
parent a8d0d7f45c
commit e96a05e3ad
5 changed files with 87 additions and 12 deletions

View file

@ -0,0 +1,10 @@
/*
Warnings:
- You are about to drop the column `birthPlaceEN` on the `EmployeeOtherInfo` table. All the data in the column will be lost.
- Added the required column `birthPlace` to the `EmployeeOtherInfo` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "EmployeeOtherInfo" DROP COLUMN "birthPlaceEN",
ADD COLUMN "birthPlace" TEXT NOT NULL;