mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 08:13:09 +02:00
Update guild.model.js
This commit is contained in:
parent
0e881b85f6
commit
5436df5c43
@ -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' });
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user