diff --git a/prisma/migrations/20240610074721_update_field/migration.sql b/prisma/migrations/20240610074721_update_field/migration.sql new file mode 100644 index 0000000..d6e7653 --- /dev/null +++ b/prisma/migrations/20240610074721_update_field/migration.sql @@ -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"; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index f5f8e21..a65e776 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -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)