chore: migration
This commit is contained in:
parent
b1bd14f6aa
commit
a6951c7fd8
2 changed files with 5 additions and 2 deletions
2
prisma/migrations/20240911063049_add_field/migration.sql
Normal file
2
prisma/migrations/20240911063049_add_field/migration.sql
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
-- AlterTable
|
||||||
|
ALTER TABLE "Employee" ADD COLUMN "selectedImage" TEXT;
|
||||||
|
|
@ -539,8 +539,9 @@ model Employee {
|
||||||
customerBranch CustomerBranch @relation(fields: [customerBranchId], references: [id], onDelete: Cascade)
|
customerBranch CustomerBranch @relation(fields: [customerBranchId], references: [id], onDelete: Cascade)
|
||||||
customerBranchId String
|
customerBranchId String
|
||||||
|
|
||||||
status Status @default(CREATED)
|
status Status @default(CREATED)
|
||||||
statusOrder Int @default(0)
|
statusOrder Int @default(0)
|
||||||
|
selectedImage String?
|
||||||
|
|
||||||
createdAt DateTime @default(now())
|
createdAt DateTime @default(now())
|
||||||
createdBy User? @relation(name: "EmployeeCreatedByUser", fields: [createdByUserId], references: [id], onDelete: SetNull)
|
createdBy User? @relation(name: "EmployeeCreatedByUser", fields: [createdByUserId], references: [id], onDelete: SetNull)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue