/*
  Warnings:

  - You are about to drop the column `postionId` on the `User` table. All the data in the column will be lost.

*/
-- DropForeignKey
ALTER TABLE "User" DROP CONSTRAINT "User_postionId_fkey";

-- AlterTable
ALTER TABLE "User" DROP COLUMN "postionId",
ADD COLUMN     "positionId" TEXT;

-- AddForeignKey
ALTER TABLE "User" ADD CONSTRAINT "User_positionId_fkey" FOREIGN KEY ("positionId") REFERENCES "Position"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
