2018-02-09 08:27:06 -05:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
module.exports = {
|
2019-08-12 08:08:31 -04:00
|
|
|
up: async function (queryInterface, Sequelize) {
|
|
|
|
await queryInterface.changeColumn('Notes', 'authorship', { type: Sequelize.TEXT('long') })
|
|
|
|
await queryInterface.changeColumn('Revisions', 'authorship', { type: Sequelize.TEXT('long') })
|
2018-02-09 08:27:06 -05:00
|
|
|
},
|
|
|
|
|
2019-08-12 08:08:31 -04:00
|
|
|
down: async function (queryInterface, Sequelize) {
|
|
|
|
await queryInterface.changeColumn('Notes', 'authorship', { type: Sequelize.TEXT })
|
|
|
|
await queryInterface.changeColumn('Revisions', 'authorship', { type: Sequelize.TEXT })
|
2018-02-09 08:27:06 -05:00
|
|
|
}
|
|
|
|
}
|