mirror of
https://github.com/status-im/codimd.git
synced 2025-01-27 08:04:56 +00:00
147c20064f
Signed-off-by: Raccoon <raccoon@hackmd.io>
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})
|
|
}
|
|
}
|