/* Warnings: - The required column `id` was added to the `organization_join_request` table with a prisma-level default value. This is not possible if the table is not empty. Please add this column as optional, then populate it before making it required. */ -- DropIndex DROP INDEX "organization_join_request_userId_orgId_key"; -- AlterTable ALTER TABLE "organization_join_request" ADD COLUMN "id" TEXT NOT NULL, ADD CONSTRAINT "organization_join_request_pkey" PRIMARY KEY ("id"); -- CreateIndex CREATE INDEX "organization_join_request_userId_orgId_idx" ON "organization_join_request"("userId", "orgId");