mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-23 02:06:29 -05:00
bb5e021f20
* Fix field type to prevent data truncation of authorship
13 lines
477 B
JavaScript
13 lines
477 B
JavaScript
'use strict'
|
|
|
|
module.exports = {
|
|
up: function (queryInterface, Sequelize) {
|
|
queryInterface.changeColumn('Notes', 'authorship', {type: Sequelize.TEXT('long')})
|
|
queryInterface.changeColumn('Revisions', 'authorship', {type: Sequelize.TEXT('long')})
|
|
},
|
|
|
|
down: function (queryInterface, Sequelize) {
|
|
queryInterface.changeColumn('Notes', 'authorship', {type: Sequelize.TEXT})
|
|
queryInterface.changeColumn('Revisions', 'authorship', {type: Sequelize.TEXT})
|
|
}
|
|
}
|