fix: unused field

This commit is contained in:
Methapon2001 2024-07-02 09:25:35 +07:00
parent d23e404196
commit 9a824f3ddf
3 changed files with 15 additions and 7 deletions

View file

@ -0,0 +1,15 @@
/*
Warnings:
- You are about to drop the column `createdAt` on the `EmployeeHistory` table. All the data in the column will be lost.
- You are about to drop the column `createdByUserId` on the `EmployeeHistory` table. All the data in the column will be lost.
- You are about to drop the column `timestamp` on the `EmployeeHistory` table. All the data in the column will be lost.
*/
-- DropForeignKey
ALTER TABLE "EmployeeHistory" DROP CONSTRAINT "EmployeeHistory_createdByUserId_fkey";
-- AlterTable
ALTER TABLE "EmployeeHistory" DROP COLUMN "createdAt",
DROP COLUMN "createdByUserId",
DROP COLUMN "timestamp";