text: /*
    Warnings:
  
    - You are about to drop the `PlaylistTrack` table. If the table is not empty, all the data it contains will be lost.
  
  */
  -- DropTable
  PRAGMA foreign_keys=off;
  DROP TABLE "PlaylistTrack";
  PRAGMA foreign_keys=on;
  
  -- CreateTable
  CREATE TABLE "_PlaylistToTrack" (
      "A" INTEGER NOT NULL,
      "B" INTEGER NOT NULL,
      FOREIGN KEY ("A") REFERENCES "Playlist" ("id") ON DELETE CASCADE ON UPDATE CASCADE,
      FOREIGN KEY ("B") REFERENCES "Track" ("id") ON DELETE CASCADE ON UPDATE CASCADE
  );
  
  -- CreateIndex
  CREATE UNIQUE INDEX "_PlaylistToTrack_AB_unique" ON "_PlaylistToTrack"("A", "B");
  
  -- CreateIndex
  CREATE INDEX "_PlaylistToTrack_B_index" ON "_PlaylistToTrack"("B");
  