/*
  Warnings:

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

*/
-- AlterTable
ALTER TABLE "User" DROP COLUMN "membershipTier",
ADD COLUMN     "membershipTierId" TEXT;

-- AddForeignKey
ALTER TABLE "User" ADD CONSTRAINT "User_membershipTierId_fkey" FOREIGN KEY ("membershipTierId") REFERENCES "Tier"("id") ON DELETE SET NULL ON UPDATE CASCADE;
