mirror of
https://github.com/status-im/codimd.git
synced 2025-01-11 09:06:04 +00:00
fc642e0d14
Signed-off-by: BoHong Li <a60814billy@gmail.com>
14 lines
521 B
JavaScript
14 lines
521 B
JavaScript
'use strict'
|
|
|
|
module.exports = {
|
|
up: async function (queryInterface, Sequelize) {
|
|
await queryInterface.changeColumn('Notes', 'authorship', { type: Sequelize.TEXT('long') })
|
|
await queryInterface.changeColumn('Revisions', 'authorship', { type: Sequelize.TEXT('long') })
|
|
},
|
|
|
|
down: async function (queryInterface, Sequelize) {
|
|
await queryInterface.changeColumn('Notes', 'authorship', { type: Sequelize.TEXT })
|
|
await queryInterface.changeColumn('Revisions', 'authorship', { type: Sequelize.TEXT })
|
|
}
|
|
}
|