-- AlterTable
ALTER TABLE "users" ADD COLUMN "invite_sponsor_id" BIGINT;

-- CreateIndex
CREATE INDEX "users_invite_sponsor_id_idx" ON "users"("invite_sponsor_id");

-- AddForeignKey
ALTER TABLE "users" ADD CONSTRAINT "users_invite_sponsor_id_fkey" FOREIGN KEY ("invite_sponsor_id") REFERENCES "users"("id") ON DELETE SET NULL ON UPDATE CASCADE;
