0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fixed column type for feature_image_caption on post revisions

MySQL needs to use the TEXT type for large columns like this.
This commit is contained in:
Fabien "egg" O'Carroll 2023-04-21 16:21:16 +01:00
parent 58efca6c04
commit 960faf7d93

View file

@ -2,7 +2,7 @@ const {combineNonTransactionalMigrations,createAddColumnMigration} = require('..
module.exports = combineNonTransactionalMigrations(
createAddColumnMigration('post_revisions', 'feature_image_caption', {
type: 'string',
type: 'text',
maxlength: 65535,
nullable: true
}),