text: -- CreateTable
  CREATE TABLE "User" (
      "id" TEXT NOT NULL,
      "name" TEXT NOT NULL,
      "email" TEXT NOT NULL,
      "role" TEXT NOT NULL DEFAULT E'USER',
      "status" BOOLEAN NOT NULL DEFAULT true,
      "password" TEXT NOT NULL,
      "updatedAt" TIMESTAMP(3) NOT NULL,
      "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
  
      CONSTRAINT "User_pkey" PRIMARY KEY ("id")
  );
  
  -- CreateTable
  CREATE TABLE "Movie" (
      "id" TEXT NOT NULL,
      "name" TEXT NOT NULL,
      "year" TIMESTAMP(3) NOT NULL,
      "lenght" TIMESTAMP(3) NOT NULL,
      "storyline" TEXT NOT NULL,
      "image" TEXT NOT NULL,
      "updatedAt" TIMESTAMP(3) NOT NULL,
      "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP,
  
      CONSTRAINT "Movie_pkey" PRIMARY KEY ("id")
  );
  
  -- CreateTable
  CREATE TABLE "_MovieToUser" (
      "A" TEXT NOT NULL,
      "B" TEXT NOT NULL
  );
  
  -- CreateIndex
  CREATE UNIQUE INDEX "User_email_key" ON "User"("email");
  
  -- CreateIndex
  CREATE UNIQUE INDEX "_MovieToUser_AB_unique" ON "_MovieToUser"("A", "B");
  
  -- CreateIndex
  CREATE INDEX "_MovieToUser_B_index" ON "_MovieToUser"("B");
  
  -- AddForeignKey
  ALTER TABLE "_MovieToUser" ADD FOREIGN KEY ("A") REFERENCES "Movie"("id") ON DELETE CASCADE ON UPDATE CASCADE;
  
  -- AddForeignKey
  ALTER TABLE "_MovieToUser" ADD FOREIGN KEY ("B") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;
  