Skip to content
Snippets Groups Projects
Commit 8951b8e7 authored by Martin Korec's avatar Martin Korec
Browse files

fix: changed publishedAt to Int/number type

parent e30c6405
No related branches found
No related tags found
No related merge requests found
/*
Warnings:
- Changed the type of `publishedAt` on the `Movie` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required.
*/
-- AlterTable
ALTER TABLE "Movie" DROP COLUMN "publishedAt",
ADD COLUMN "publishedAt" INTEGER NOT NULL;
-- CreateIndex
CREATE UNIQUE INDEX "Movie_originalName_publishedAt_directorId_key" ON "Movie"("originalName", "publishedAt", "directorId");
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment