diff --git a/prisma/migrations/20240614025514_remove_unintended_field/migration.sql b/prisma/migrations/20240614025514_remove_unintended_field/migration.sql new file mode 100644 index 0000000..f97abe5 --- /dev/null +++ b/prisma/migrations/20240614025514_remove_unintended_field/migration.sql @@ -0,0 +1,8 @@ +/* + Warnings: + + - You are about to drop the column `productId` on the `WorkService` table. All the data in the column will be lost. + +*/ +-- AlterTable +ALTER TABLE "WorkService" DROP COLUMN "productId"; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 20a2c4e..64f3b60 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -580,7 +580,6 @@ model WorkService { createdAt DateTime @default(now()) updateBy String? updatedAt DateTime @updatedAt - productId String? @@id([workId, serviceId]) }