refactor: drop field
This commit is contained in:
parent
42a036c34f
commit
c548386b56
3 changed files with 16 additions and 9 deletions
|
|
@ -0,0 +1,8 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `zipCode` on the `Employee` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "Employee" DROP COLUMN "zipCode";
|
||||
|
|
@ -516,8 +516,6 @@ model Employee {
|
|||
subDistrict SubDistrict? @relation(fields: [subDistrictId], references: [id], onDelete: SetNull)
|
||||
subDistrictId String?
|
||||
|
||||
zipCode String
|
||||
|
||||
passportType String
|
||||
passportNumber String
|
||||
passportIssueDate DateTime @db.Date
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue