mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 02:06:29 -05:00
6280e92d10
Signed-off-by: chandi <git@chandi.it>
16 lines
880 B
JavaScript
16 lines
880 B
JavaScript
'use strict'
|
|
module.exports = {
|
|
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 })
|
|
}
|
|
}
|