mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-30 19:51:12 -05:00
7b9f9a487b
Signed-off-by: David Mehren <git@herrmehren.de>
11 lines
435 B
JavaScript
11 lines
435 B
JavaScript
'use strict'
|
|
|
|
module.exports = {
|
|
up: async function (queryInterface, Sequelize) {
|
|
return queryInterface.changeColumn('Notes', 'permission', { type: Sequelize.ENUM('freely', 'editable', 'limited', 'locked', 'protected', 'private') })
|
|
},
|
|
|
|
down: async function (queryInterface, Sequelize) {
|
|
return queryInterface.changeColumn('Notes', 'permission', { type: Sequelize.ENUM('freely', 'editable', 'locked', 'private') })
|
|
}
|
|
}
|