fix: typo

This commit is contained in:
Methapon Metanipat 2024-10-30 09:02:29 +07:00
parent 2e9bfe5fca
commit df811c90b3
3 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1,9 @@
/*
Warnings:
- You are about to drop the column `workPermitIssuDate` on the `EmployeeWork` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "EmployeeWork" DROP COLUMN "workPermitIssuDate",
ADD COLUMN "workPermitIssueDate" DATE;

View file

@ -879,7 +879,7 @@ model EmployeeWork {
jobType String?
workplace String?
workPermitNo String?
workPermitIssuDate DateTime? @db.Date
workPermitIssueDate DateTime? @db.Date
workPermitExpireDate DateTime? @db.Date
workEndDate DateTime? @db.Date
remark String?

View file

@ -38,7 +38,7 @@ type EmployeeWorkPayload = {
jobType?: string | null;
workplace?: string | null;
workPermitNo?: string | null;
workPermitIssuDate?: Date | null;
workPermitIssueDate?: Date | null;
workPermitExpireDate?: Date | null;
workEndDate?: Date | null;
remark?: string | null;