mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-10-20 14:12:10 -04:00
fab2607e4d
Signed-off-by: Philip Molares <philip.molares@udo.edu>
13 lines
521 B
JavaScript
13 lines
521 B
JavaScript
'use strict'
|
|
|
|
module.exports = {
|
|
up: async function (queryInterface, Sequelize) {
|
|
await queryInterface.changeColumn('Notes', 'authorship', { type: Sequelize.TEXT('long') })
|
|
await queryInterface.changeColumn('Revisions', 'authorship', { type: Sequelize.TEXT('long') })
|
|
},
|
|
|
|
down: async function (queryInterface, Sequelize) {
|
|
await queryInterface.changeColumn('Notes', 'authorship', { type: Sequelize.TEXT })
|
|
await queryInterface.changeColumn('Revisions', 'authorship', { type: Sequelize.TEXT })
|
|
}
|
|
}
|