zipline/prisma/migrations/20230115214317_file_original_name/migration.sql

9 lines
262 B
MySQL
Raw Normal View History

2023-01-15 16:57:28 -05:00
-- AlterTable
ALTER TABLE "File" ADD COLUMN "originalName" TEXT;
-- RenameForeignKey
ALTER TABLE "File" RENAME CONSTRAINT "Image_userId_fkey" TO "File_userId_fkey";
-- RenameIndex
ALTER INDEX "InvisibleImage_invis_key" RENAME TO "InvisibleFile_invis_key";