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