fix: unused field
This commit is contained in:
parent
d23e404196
commit
9a824f3ddf
3 changed files with 15 additions and 7 deletions
|
|
@ -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";
|
||||
Loading…
Add table
Add a link
Reference in a new issue