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