* allow admins to require invites before user accounts can be created * use new dialog component for general confirmation dialogs
15 lines
347 B
JavaScript
15 lines
347 B
JavaScript
'use strict';
|
|
|
|
module.exports = {
|
|
up: async (queryInterface, Sequelize) => {
|
|
await queryInterface.addColumn("teams", "inviteRequired", {
|
|
type: Sequelize.BOOLEAN,
|
|
defaultValue: false,
|
|
allowNull: false
|
|
});
|
|
},
|
|
down: async (queryInterface) => {
|
|
await queryInterface.removeColumn("teams", "inviteRequired");
|
|
},
|
|
};
|