fix: Change data type of history attribute in user table to long text
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>
This commit is contained in:
committed by
David Mehren
parent
9254c0dc39
commit
68466f6f09
@@ -5,5 +5,11 @@ module.exports = {
|
||||
return queryInterface.changeColumn('Users', 'history', {
|
||||
type: Sequelize.TEXT('long')
|
||||
})
|
||||
},
|
||||
|
||||
down: function (queryInterface, Sequelize) {
|
||||
return queryInterface.changeColumn('Users', 'history', {
|
||||
type: Sequelize.TEXT
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user