mirror of
https://github.com/status-im/codimd.git
synced 2025-01-12 11:34:16 +00:00
147c20064f
Signed-off-by: Raccoon <raccoon@hackmd.io>
10 lines
407 B
TypeScript
10 lines
407 B
TypeScript
export = {
|
|
up: async function (queryInterface, Sequelize) {
|
|
await queryInterface.changeColumn('Notes', 'permission', {type: Sequelize.ENUM('freely', 'editable', 'limited', 'locked', 'protected', 'private')})
|
|
},
|
|
|
|
down: async function (queryInterface, Sequelize) {
|
|
await queryInterface.changeColumn('Notes', 'permission', {type: Sequelize.ENUM('freely', 'editable', 'locked', 'private')})
|
|
}
|
|
}
|