mirror of
https://github.com/status-im/codimd.git
synced 2025-02-11 16:26:31 +00:00
16 lines
843 B
TypeScript
16 lines
843 B
TypeScript
|
export = {
|
||
|
up: async function (queryInterface, Sequelize) {
|
||
|
await queryInterface.changeColumn('Notes', 'content', {type: Sequelize.TEXT('long')})
|
||
|
await queryInterface.changeColumn('Revisions', 'patch', {type: Sequelize.TEXT('long')})
|
||
|
await queryInterface.changeColumn('Revisions', 'content', {type: Sequelize.TEXT('long')})
|
||
|
await queryInterface.changeColumn('Revisions', 'lastContent', {type: Sequelize.TEXT('long')})
|
||
|
},
|
||
|
|
||
|
down: async function (queryInterface, Sequelize) {
|
||
|
await queryInterface.changeColumn('Notes', 'content', {type: Sequelize.TEXT})
|
||
|
await queryInterface.changeColumn('Revisions', 'patch', {type: Sequelize.TEXT})
|
||
|
await queryInterface.changeColumn('Revisions', 'content', {type: Sequelize.TEXT})
|
||
|
await queryInterface.changeColumn('Revisions', 'lastContent', {type: Sequelize.TEXT})
|
||
|
}
|
||
|
}
|