refactor: change field to null able
This commit is contained in:
parent
df1cb471d2
commit
74ed6fb321
3 changed files with 4 additions and 2 deletions
|
|
@ -0,0 +1,2 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "Employee" ALTER COLUMN "nrcNo" DROP NOT NULL;
|
||||
|
|
@ -469,7 +469,7 @@ model Employee {
|
|||
id String @id @default(uuid())
|
||||
|
||||
code String
|
||||
nrcNo String
|
||||
nrcNo String?
|
||||
firstName String
|
||||
firstNameEN String
|
||||
lastName String
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ type EmployeeCreate = {
|
|||
|
||||
status?: Status;
|
||||
|
||||
nrcNo: string;
|
||||
nrcNo?: string;
|
||||
|
||||
dateOfBirth: Date;
|
||||
gender: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue