refactor: change relationship

This commit is contained in:
Methapon2001 2024-08-05 10:59:44 +07:00
parent 0bd3ce55a7
commit 2ed718ccd0
3 changed files with 14 additions and 4 deletions

View file

@ -0,0 +1,8 @@
/*
Warnings:
- A unique constraint covering the columns `[employeeId]` on the table `EmployeeOtherInfo` will be added. If there are existing duplicate values, this will fail.
*/
-- CreateIndex
CREATE UNIQUE INDEX "EmployeeOtherInfo_employeeId_key" ON "EmployeeOtherInfo"("employeeId");