2018-02-09 13:27:06 +00:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
module.exports = {
|
2019-08-12 12:08:31 +00: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 13:27:06 +00:00
|
|
|
},
|
|
|
|
|
2019-08-12 12:08:31 +00: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 13:27:06 +00:00
|
|
|
}
|
|
|
|
}
|