/*
  Warnings:

  - You are about to drop the column `inviteAcceptance` on the `Member` table. All the data in the column will be lost.
  - You are about to drop the column `inviteExpiresAt` on the `Member` table. All the data in the column will be lost.

*/
-- AlterTable
ALTER TABLE "Member" DROP COLUMN "inviteAcceptance",
DROP COLUMN "inviteExpiresAt",
ADD COLUMN     "latestInviteId" UUID;

-- AddForeignKey
ALTER TABLE "Member" ADD CONSTRAINT "Member_latestInviteId_fkey" FOREIGN KEY ("latestInviteId") REFERENCES "Invite"("id") ON DELETE SET NULL ON UPDATE CASCADE;
