mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-30 23:05:30 -04:00
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:
parent
9254c0dc39
commit
68466f6f09
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue