Update guild.model.js

This commit is contained in:
Isaac 2021-05-30 14:16:17 +01:00 committed by GitHub
parent 0e881b85f6
commit 5436df5c43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,6 @@ const { DataTypes } = require('sequelize');
module.exports = ({ config }, sequelize) => { module.exports = ({ config }, sequelize) => {
const { DB_TABLE_PREFIX } = process.env; const { DB_TABLE_PREFIX } = process.env;
sequelize.define('Guild', { sequelize.define('Guild', {
blacklist: { blacklist: {
defaultValue: [], defaultValue: [],
type: DataTypes.JSON type: DataTypes.JSON
@ -45,4 +44,4 @@ module.exports = ({ config }, sequelize) => {
type: DataTypes.JSON type: DataTypes.JSON
} }
}, { tableName: DB_TABLE_PREFIX + 'guilds' }); }, { tableName: DB_TABLE_PREFIX + 'guilds' });
}; };