2017-10-16 08:12:39 +00:00
|
|
|
'use strict'
|
|
|
|
module.exports = {
|
|
|
|
up: function (queryInterface, Sequelize) {
|
2019-05-30 22:27:56 +00:00
|
|
|
queryInterface.changeColumn('Notes', 'content', { type: Sequelize.TEXT('long') })
|
|
|
|
queryInterface.changeColumn('Revisions', 'patch', { type: Sequelize.TEXT('long') })
|
|
|
|
queryInterface.changeColumn('Revisions', 'content', { type: Sequelize.TEXT('long') })
|
|
|
|
queryInterface.changeColumn('Revisions', 'lastContent', { type: Sequelize.TEXT('long') })
|
2017-10-16 08:12:39 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
down: function (queryInterface, Sequelize) {
|
2019-05-30 22:27:56 +00:00
|
|
|
queryInterface.changeColumn('Notes', 'content', { type: Sequelize.TEXT })
|
|
|
|
queryInterface.changeColumn('Revisions', 'patch', { type: Sequelize.TEXT })
|
|
|
|
queryInterface.changeColumn('Revisions', 'content', { type: Sequelize.TEXT })
|
|
|
|
queryInterface.changeColumn('Revisions', 'lastContent', { type: Sequelize.TEXT })
|
2017-10-16 08:12:39 +00:00
|
|
|
}
|
|
|
|
}
|