mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 03:06:31 -05:00
Convert history attribute in user table to longtext
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
345fab95c5
commit
9254c0dc39
2 changed files with 10 additions and 1 deletions
|
@ -0,0 +1,9 @@
|
|||
'use strict'
|
||||
|
||||
module.exports = {
|
||||
up: function (queryInterface, Sequelize) {
|
||||
return queryInterface.changeColumn('Users', 'history', {
|
||||
type: Sequelize.TEXT('long')
|
||||
})
|
||||
}
|
||||
}
|
|
@ -23,7 +23,7 @@ module.exports = function (sequelize, DataTypes) {
|
|||
type: DataTypes.TEXT
|
||||
},
|
||||
history: {
|
||||
type: DataTypes.TEXT
|
||||
type: DataTypes.TEXT('long')
|
||||
},
|
||||
accessToken: {
|
||||
type: DataTypes.TEXT
|
||||
|
|
Loading…
Reference in a new issue