hedgedoc/lib/migrations/20220901102800-convert-history-to-longtext.js

16 lines
335 B
JavaScript
Raw Normal View History

'use strict'
module.exports = {
up: function (queryInterface, Sequelize) {
return queryInterface.changeColumn('Users', 'history', {
type: Sequelize.TEXT('long')
})
},
down: function (queryInterface, Sequelize) {
return queryInterface.changeColumn('Users', 'history', {
type: Sequelize.TEXT
})
}
}