chore: migration

This commit is contained in:
Methapon2001 2024-06-10 16:06:33 +07:00
parent c746b2ffbe
commit 9c4e47105d
2 changed files with 12 additions and 1 deletions

View 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";

View file

@ -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)