2017-10-16 04:12:39 -04: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-07 19:56:55 -05:00
|
|
|
queryInterface.changeColumn('Revisions', 'lastContent', {type: Sequelize.TEXT('long')})
|
2017-10-16 04:12:39 -04: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-07 19:56:55 -05:00
|
|
|
queryInterface.changeColumn('Revisions', 'lastContent', {type: Sequelize.TEXT})
|
2017-10-16 04:12:39 -04:00
|
|
|
}
|
|
|
|
}
|