mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-24 05:31:31 +00:00
17 lines
802 B
JavaScript
17 lines
802 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', 'latContent', {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', 'latContent', {type: Sequelize.TEXT})
|
||
|
}
|
||
|
}
|