mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-22 17:56:30 -05:00
f85ba6df53
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
11 lines
405 B
JavaScript
11 lines
405 B
JavaScript
'use strict'
|
|
|
|
module.exports = {
|
|
up: function (queryInterface, Sequelize) {
|
|
queryInterface.changeColumn('Notes', 'permission', {type: Sequelize.ENUM('freely', 'editable', 'limited', 'locked', 'protected', 'private')})
|
|
},
|
|
|
|
down: function (queryInterface, Sequelize) {
|
|
queryInterface.changeColumn('Notes', 'permission', {type: Sequelize.ENUM('freely', 'editable', 'locked', 'private')})
|
|
}
|
|
}
|