Implemented permabans
This commit is contained in:
@@ -40,6 +40,12 @@ module.exports = sequelize.define('accounts', {
|
||||
defaultValue: false
|
||||
},
|
||||
|
||||
banned: {
|
||||
type: Sequelize.BOOLEAN,
|
||||
allowNull: false,
|
||||
defaultValue: false
|
||||
},
|
||||
|
||||
contact: {
|
||||
type: Sequelize.BOOLEAN,
|
||||
allowNull: false,
|
||||
|
||||
@@ -3,4 +3,5 @@ const sequelize = require('..');
|
||||
|
||||
module.exports = sequelize.define('tokens', {
|
||||
token: 'varchar(320)',
|
||||
username: 'varchar(320)'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user