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
@ -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
|
type: DataTypes.TEXT
|
||||||
},
|
},
|
||||||
history: {
|
history: {
|
||||||
type: DataTypes.TEXT
|
type: DataTypes.TEXT('long')
|
||||||
},
|
},
|
||||||
accessToken: {
|
accessToken: {
|
||||||
type: DataTypes.TEXT
|
type: DataTypes.TEXT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user