fix: typo
This commit is contained in:
parent
2e9bfe5fca
commit
df811c90b3
3 changed files with 11 additions and 2 deletions
9
prisma/migrations/20241030020133_fix_typos/migration.sql
Normal file
9
prisma/migrations/20241030020133_fix_typos/migration.sql
Normal 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;
|
||||||
|
|
@ -879,7 +879,7 @@ model EmployeeWork {
|
||||||
jobType String?
|
jobType String?
|
||||||
workplace String?
|
workplace String?
|
||||||
workPermitNo String?
|
workPermitNo String?
|
||||||
workPermitIssuDate DateTime? @db.Date
|
workPermitIssueDate DateTime? @db.Date
|
||||||
workPermitExpireDate DateTime? @db.Date
|
workPermitExpireDate DateTime? @db.Date
|
||||||
workEndDate DateTime? @db.Date
|
workEndDate DateTime? @db.Date
|
||||||
remark String?
|
remark String?
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ type EmployeeWorkPayload = {
|
||||||
jobType?: string | null;
|
jobType?: string | null;
|
||||||
workplace?: string | null;
|
workplace?: string | null;
|
||||||
workPermitNo?: string | null;
|
workPermitNo?: string | null;
|
||||||
workPermitIssuDate?: Date | null;
|
workPermitIssueDate?: Date | null;
|
||||||
workPermitExpireDate?: Date | null;
|
workPermitExpireDate?: Date | null;
|
||||||
workEndDate?: Date | null;
|
workEndDate?: Date | null;
|
||||||
remark?: string | null;
|
remark?: string | null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue