jws-backend/prisma/migrations/20240607070114_fix_wrong_field/migration.sql

11 lines
395 B
MySQL
Raw Normal View History

2024-06-07 14:02:31 +07:00
/*
Warnings:
- You are about to drop the column `wageDate` on the `CustomerBranch` table. All the data in the column will be lost.
- Added the required column `wageRate` to the `CustomerBranch` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "CustomerBranch" DROP COLUMN "wageDate",
ADD COLUMN "wageRate" INTEGER NOT NULL;