zipline/prisma/migrations/20230115193136_rename_fields_image/migration.sql

8 lines
221 B
MySQL
Raw Normal View History

-- AlterTable
ALTER TABLE "Image" RENAME COLUMN "created_at" TO "createdAt";
-- AlterTable
ALTER TABLE "Image" RENAME COLUMN "expires_at" TO "expiresAt";
-- AlterTable
ALTER TABLE "Image" RENAME COLUMN "file" TO "name";