mirror of
https://github.com/status-im/codimd.git
synced 2025-02-22 05:28:14 +00:00
12 lines
491 B
TypeScript
12 lines
491 B
TypeScript
|
export = {
|
||
|
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})
|
||
|
}
|
||
|
}
|