mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
a9973cabc4
Signed-off-by: Takeaki Matsumoto <takeaki.matsumoto@ntt.com>
16 lines
804 B
JavaScript
16 lines
804 B
JavaScript
'use strict'
|
|
module.exports = {
|
|
up: function (queryInterface, Sequelize) {
|
|
queryInterface.changeColumn('Notes', 'content', {type: Sequelize.TEXT('long')})
|
|
queryInterface.changeColumn('Revisions', 'patch', {type: Sequelize.TEXT('long')})
|
|
queryInterface.changeColumn('Revisions', 'content', {type: Sequelize.TEXT('long')})
|
|
queryInterface.changeColumn('Revisions', 'lastContent', {type: Sequelize.TEXT('long')})
|
|
},
|
|
|
|
down: function (queryInterface, Sequelize) {
|
|
queryInterface.changeColumn('Notes', 'content', {type: Sequelize.TEXT})
|
|
queryInterface.changeColumn('Revisions', 'patch', {type: Sequelize.TEXT})
|
|
queryInterface.changeColumn('Revisions', 'content', {type: Sequelize.TEXT})
|
|
queryInterface.changeColumn('Revisions', 'lastContent', {type: Sequelize.TEXT})
|
|
}
|
|
}
|