Files
outline/server/migrations/20180819054252-disable-sharing.js
Tom Moor 328f731541 Share Permissions (#761)
* Share restrictions

* Tweak language, add spec
2018-08-19 16:06:39 -07:00

12 lines
325 B
JavaScript

module.exports = {
up: async (queryInterface, Sequelize) => {
await queryInterface.addColumn('teams', 'sharing', {
type: Sequelize.BOOLEAN,
allowNull: false,
defaultValue: true
});
},
down: async (queryInterface, Sequelize) => {
await queryInterface.removeColumn('teams', 'sharing');
}
}