text: /*
    Warnings:
  
    - You are about to drop the column `mediaItemId` on the `Entry` table. All the data in the column will be lost.
    - A unique constraint covering the columns `[provider,providerAccountId]` on the table `Account` will be added. If there are existing duplicate values, this will fail.
    - A unique constraint covering the columns `[name]` on the table `Category` will be added. If there are existing duplicate values, this will fail.
    - A unique constraint covering the columns `[authorId,entryId]` on the table `Comment` will be added. If there are existing duplicate values, this will fail.
    - A unique constraint covering the columns `[authorId]` on the table `Entry` will be added. If there are existing duplicate values, this will fail.
    - A unique constraint covering the columns `[name,userId]` on the table `MediaItem` will be added. If there are existing duplicate values, this will fail.
    - A unique constraint covering the columns `[userId]` on the table `Profile` will be added. If there are existing duplicate values, this will fail.
    - A unique constraint covering the columns `[userId]` on the table `Session` will be added. If there are existing duplicate values, this will fail.
    - A unique constraint covering the columns `[email]` on the table `User` will be added. If there are existing duplicate values, this will fail.
    - A unique constraint covering the columns `[token]` on the table `VerificationToken` will be added. If there are existing duplicate values, this will fail.
    - A unique constraint covering the columns `[identifier,token]` on the table `VerificationToken` will be added. If there are existing duplicate values, this will fail.
    - A unique constraint covering the columns `[A,B]` on the table `_CategoryToEntry` will be added. If there are existing duplicate values, this will fail.
  
  */
  -- DropIndex
  DROP INDEX "Account_provider_providerAccountId_key";
  
  -- DropIndex
  DROP INDEX "Category_name_key";
  
  -- DropIndex
  DROP INDEX "Comment_authorId_entryId_key";
  
  -- DropIndex
  DROP INDEX "Entry_authorId_key";
  
  -- DropIndex
  DROP INDEX "MediaItem_name_userId_key";
  
  -- DropIndex
  DROP INDEX "Profile_userId_key";
  
  -- DropIndex
  DROP INDEX "Session_userId_key";
  
  -- DropIndex
  DROP INDEX "User_email_key";
  
  -- DropIndex
  DROP INDEX "VerificationToken_identifier_token_key";
  
  -- DropIndex
  DROP INDEX "VerificationToken_token_key";
  
  -- DropIndex
  DROP INDEX "_CategoryToEntry_AB_unique";
  
  -- DropIndex
  DROP INDEX "_CategoryToEntry_B_index";
  
  -- AlterTable
  ALTER TABLE "Entry" DROP COLUMN "mediaItemId",
  ALTER COLUMN "featuredImage" DROP NOT NULL;
  
  -- CreateIndex
  CREATE UNIQUE INDEX "Account_provider_providerAccountId_key" ON "Account"("provider", "providerAccountId");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "Category_name_key" ON "Category"("name");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "Comment_authorId_entryId_key" ON "Comment"("authorId", "entryId");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "Entry_authorId_key" ON "Entry"("authorId");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "MediaItem_name_userId_key" ON "MediaItem"("name", "userId");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "Profile_userId_key" ON "Profile"("userId");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "Session_userId_key" ON "Session"("userId");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "User_email_key" ON "User"("email");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "VerificationToken_token_key" ON "VerificationToken"("token");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "VerificationToken_identifier_token_key" ON "VerificationToken"("identifier", "token");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "_CategoryToEntry_AB_unique" ON "_CategoryToEntry"("A", "B");
  
  -- CreateIndex
  CREATE INDEX "_CategoryToEntry_B_index" ON "_CategoryToEntry"("B");
  