mirror of
https://github.com/outline/outline.git
synced 2026-05-08 02:50:30 -05:00
UI to prevent suspended users viewing the application
This commit is contained in:
@@ -2,6 +2,10 @@ module.exports = {
|
||||
up: async (queryInterface, Sequelize) => {
|
||||
await queryInterface.addColumn('users', 'suspendedById', {
|
||||
type: Sequelize.UUID,
|
||||
allowNull: true,
|
||||
references: {
|
||||
model: 'users',
|
||||
},
|
||||
});
|
||||
await queryInterface.addColumn('users', 'suspendedAt', {
|
||||
type: Sequelize.DATE,
|
||||
|
||||
Reference in New Issue
Block a user