This commit is contained in:
Troplo 2020-11-22 01:55:56 +11:00
commit 50d45fd18f
2 changed files with 18 additions and 0 deletions

18
models/bannedUsernames.js Normal file
View File

@ -0,0 +1,18 @@
const Errors = require('../lib/errors')
module.exports = (sequelize, DataTypes) =>{
let bannedUsernames;
bannedUsernames = sequelize.define('bannedUsernames', {
// Model attributes are defined here
username: {
type: DataTypes.STRING,
allowNull: false
},
createdAt: sequelize.DATE,
UpdatedAt: sequelize.DATE,
}, {
// Other model options go here
});
return bannedUsernames;
}

View File