mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 09:46:30 -05:00
68466f6f09
When using mysql the normal text attribute has a fixed size. When this size is reached then the json will be cut off and becomes invalid. Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
15 lines
335 B
JavaScript
15 lines
335 B
JavaScript
'use strict'
|
|
|
|
module.exports = {
|
|
up: function (queryInterface, Sequelize) {
|
|
return queryInterface.changeColumn('Users', 'history', {
|
|
type: Sequelize.TEXT('long')
|
|
})
|
|
},
|
|
|
|
down: function (queryInterface, Sequelize) {
|
|
return queryInterface.changeColumn('Users', 'history', {
|
|
type: Sequelize.TEXT
|
|
})
|
|
}
|
|
}
|