chore: migration
This commit is contained in:
parent
c746b2ffbe
commit
9c4e47105d
2 changed files with 12 additions and 1 deletions
11
prisma/migrations/20240610074721_update_field/migration.sql
Normal file
11
prisma/migrations/20240610074721_update_field/migration.sql
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `imageUrl` on the `Product` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "EmployeeWork" ADD COLUMN "remark" TEXT;
|
||||
|
||||
-- AlterTable
|
||||
ALTER TABLE "Product" DROP COLUMN "imageUrl";
|
||||
|
|
@ -488,6 +488,7 @@ model EmployeeWork {
|
|||
workPermitIssuDate DateTime
|
||||
workPermitExpireDate DateTime
|
||||
workEndDate DateTime
|
||||
remark String?
|
||||
|
||||
createdBy String?
|
||||
createdAt DateTime @default(now())
|
||||
|
|
@ -610,7 +611,6 @@ model Product {
|
|||
price Int
|
||||
agentPrice Int
|
||||
serviceCharge Int
|
||||
imageUrl String
|
||||
|
||||
status Status @default(CREATED)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue