mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 18:56:32 -05: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', {
|
return queryInterface.changeColumn('Users', 'history', {
|
||||||
type: Sequelize.TEXT('long')
|
type: Sequelize.TEXT('long')
|
||||||
})
|
})
|
||||||
|
},
|
||||||
|
|
||||||
|
down: function (queryInterface, Sequelize) {
|
||||||
|
return queryInterface.changeColumn('Users', 'history', {
|
||||||
|
type: Sequelize.TEXT
|
||||||
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
- Fix a crash when using LDAP authentication with custom search attributes (thanks to [@aboettger-tuhh](https://github.com/aboettger-tuhh) for reporting)
|
- Fix a crash when using LDAP authentication with custom search attributes (thanks to [@aboettger-tuhh](https://github.com/aboettger-tuhh) for reporting)
|
||||||
|
- Fix crash caused by a long note history when the MySQL database is used
|
||||||
|
|
||||||
## <i class="fa fa-tag"></i> 1.9.4 <i class="fa fa-calendar-o"></i> 2022-07-10
|
## <i class="fa fa-tag"></i> 1.9.4 <i class="fa fa-calendar-o"></i> 2022-07-10
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue