Skip to content

Commit f85ba6d

Browse files
committed
Add missing migration for permissions
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
1 parent 66d8d31 commit f85ba6d

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
'use strict'
2+
3+
module.exports = {
4+
up: function (queryInterface, Sequelize) {
5+
queryInterface.changeColumn('Notes', 'permission', {type: Sequelize.ENUM('freely', 'editable', 'limited', 'locked', 'protected', 'private')})
6+
},
7+
8+
down: function (queryInterface, Sequelize) {
9+
queryInterface.changeColumn('Notes', 'permission', {type: Sequelize.ENUM('freely', 'editable', 'locked', 'private')})
10+
}
11+
}

0 commit comments

Comments
 (0)