/*
  Warnings:

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

*/
-- DropForeignKey
ALTER TABLE "user" DROP CONSTRAINT "user_district_id_fkey";

-- AlterTable
ALTER TABLE "user" DROP COLUMN "district_id",
ADD COLUMN     "districtId" TEXT;

-- AddForeignKey
ALTER TABLE "user" ADD FOREIGN KEY ("districtId") REFERENCES "district"("id") ON DELETE SET NULL ON UPDATE CASCADE;
