feat: add more user field
This commit is contained in:
parent
d44c259999
commit
de01db361a
3 changed files with 11 additions and 1 deletions
|
|
@ -0,0 +1,3 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "User" ADD COLUMN "birtDate" TIMESTAMP(3),
|
||||
ADD COLUMN "responsibleArea" TEXT;
|
||||
|
|
@ -196,7 +196,10 @@ model User {
|
|||
sourceNationality String?
|
||||
importNationality String?
|
||||
|
||||
trainingPlace String?
|
||||
trainingPlace String?
|
||||
responsibleArea String?
|
||||
|
||||
birtDate DateTime?
|
||||
|
||||
status Status @default(CREATED)
|
||||
|
||||
|
|
|
|||
|
|
@ -50,6 +50,8 @@ type UserCreate = {
|
|||
sourceNationality?: string | null;
|
||||
importNationality?: string | null;
|
||||
trainingPlace?: string | null;
|
||||
responsibleArea?: string | null;
|
||||
birthDate?: Date | null;
|
||||
|
||||
address: string;
|
||||
addressEN: string;
|
||||
|
|
@ -84,6 +86,8 @@ type UserUpdate = {
|
|||
sourceNationality?: string | null;
|
||||
importNationality?: string | null;
|
||||
trainingPlace?: string | null;
|
||||
responsibleArea?: string | null;
|
||||
birthDate?: Date | null;
|
||||
|
||||
address?: string;
|
||||
addressEN?: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue