From f5038a45f1e5951ea3e4c0987d66788f6f9fa0b0 Mon Sep 17 00:00:00 2001 From: Loic Bersier Date: Thu, 30 Apr 2020 22:20:07 +0200 Subject: [PATCH] eslint do your thing Signed-off-by: loicbersier --- ...20190728145741-create-guess-leaderboard.js | 60 +++++++++---------- .../20190821164402-create-banned-words.js | 54 ++++++++--------- ...20191006180114-create-twitter-blacklist.js | 54 ++++++++--------- .../20191006181945-create-guild-blacklist.js | 48 +++++++-------- .../20191006181953-create-user-blacklist.js | 48 +++++++-------- migrations/20191008230533-create-borgar.js | 60 +++++++++---------- migrations/20191026223359-create-donator.js | 54 ++++++++--------- .../20191127105740-create-join-channel.js | 60 +++++++++---------- .../20191127105810-create-leave-channel.js | 60 +++++++++---------- .../20200224133009-create-whitelist-word.js | 54 ++++++++--------- .../20200305204757-create-quotation-stat.js | 54 ++++++++--------- .../20200318011556-create-command-block.js | 54 ++++++++--------- models/bannedwords.js | 16 ++--- models/borgar.js | 18 +++--- models/commandblock.js | 16 ++--- models/donator.js | 16 ++--- models/guessleaderboard.js | 18 +++--- models/guildblacklist.js | 14 ++--- models/joinchannel.js | 18 +++--- models/leavechannel.js | 18 +++--- models/quotationstat.js | 16 ++--- models/twitterblacklist.js | 16 ++--- models/userblacklist.js | 14 ++--- models/whitelistword.js | 16 ++--- 24 files changed, 428 insertions(+), 428 deletions(-) diff --git a/migrations/20190728145741-create-guess-leaderboard.js b/migrations/20190728145741-create-guess-leaderboard.js index 3b08673..4d0c334 100644 --- a/migrations/20190728145741-create-guess-leaderboard.js +++ b/migrations/20190728145741-create-guess-leaderboard.js @@ -1,33 +1,33 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('guessLeaderboards', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - memberID: { - type: Sequelize.BIGINT - }, - try: { - type: Sequelize.INTEGER - }, - difficulty: { - type: Sequelize.STRING - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('guessLeaderboards'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('guessLeaderboards', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + memberID: { + type: Sequelize.BIGINT + }, + try: { + type: Sequelize.INTEGER + }, + difficulty: { + type: Sequelize.STRING + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('guessLeaderboards'); + } }; \ No newline at end of file diff --git a/migrations/20190821164402-create-banned-words.js b/migrations/20190821164402-create-banned-words.js index bc2da4e..83a7a7e 100644 --- a/migrations/20190821164402-create-banned-words.js +++ b/migrations/20190821164402-create-banned-words.js @@ -1,30 +1,30 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('bannedWords', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - word: { - type: Sequelize.STRING - }, - serverID: { - type: Sequelize.BIGINT - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('bannedWords'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('bannedWords', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + word: { + type: Sequelize.STRING + }, + serverID: { + type: Sequelize.BIGINT + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('bannedWords'); + } }; \ No newline at end of file diff --git a/migrations/20191006180114-create-twitter-blacklist.js b/migrations/20191006180114-create-twitter-blacklist.js index 72289cb..642e83c 100644 --- a/migrations/20191006180114-create-twitter-blacklist.js +++ b/migrations/20191006180114-create-twitter-blacklist.js @@ -1,30 +1,30 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('TwitterBlacklists', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - userID: { - type: Sequelize.BIGINT - }, - reason: { - type: Sequelize.STRING - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('TwitterBlacklists'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('TwitterBlacklists', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + userID: { + type: Sequelize.BIGINT + }, + reason: { + type: Sequelize.STRING + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('TwitterBlacklists'); + } }; \ No newline at end of file diff --git a/migrations/20191006181945-create-guild-blacklist.js b/migrations/20191006181945-create-guild-blacklist.js index d50830b..cbe51fb 100644 --- a/migrations/20191006181945-create-guild-blacklist.js +++ b/migrations/20191006181945-create-guild-blacklist.js @@ -1,27 +1,27 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('guildBlacklists', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - guildID: { - type: Sequelize.BIGINT - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('guildBlacklists'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('guildBlacklists', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + guildID: { + type: Sequelize.BIGINT + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('guildBlacklists'); + } }; \ No newline at end of file diff --git a/migrations/20191006181953-create-user-blacklist.js b/migrations/20191006181953-create-user-blacklist.js index 5089d1b..778ee28 100644 --- a/migrations/20191006181953-create-user-blacklist.js +++ b/migrations/20191006181953-create-user-blacklist.js @@ -1,27 +1,27 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('userBlacklists', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - userID: { - type: Sequelize.BIGINT - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('userBlacklists'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('userBlacklists', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + userID: { + type: Sequelize.BIGINT + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('userBlacklists'); + } }; \ No newline at end of file diff --git a/migrations/20191008230533-create-borgar.js b/migrations/20191008230533-create-borgar.js index 8930409..0923b44 100644 --- a/migrations/20191008230533-create-borgar.js +++ b/migrations/20191008230533-create-borgar.js @@ -1,33 +1,33 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('borgars', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - userID: { - type: Sequelize.BIGINT - }, - level: { - type: Sequelize.INTEGER - }, - xp: { - type: Sequelize.INTEGER - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('borgars'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('borgars', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + userID: { + type: Sequelize.BIGINT + }, + level: { + type: Sequelize.INTEGER + }, + xp: { + type: Sequelize.INTEGER + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('borgars'); + } }; \ No newline at end of file diff --git a/migrations/20191026223359-create-donator.js b/migrations/20191026223359-create-donator.js index 146ba8b..91a0d6f 100644 --- a/migrations/20191026223359-create-donator.js +++ b/migrations/20191026223359-create-donator.js @@ -1,30 +1,30 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('donators', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - userID: { - type: Sequelize.BIGINT - }, - comment: { - type: Sequelize.STRING - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('donators'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('donators', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + userID: { + type: Sequelize.BIGINT + }, + comment: { + type: Sequelize.STRING + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('donators'); + } }; \ No newline at end of file diff --git a/migrations/20191127105740-create-join-channel.js b/migrations/20191127105740-create-join-channel.js index 3a494a3..5f7be95 100644 --- a/migrations/20191127105740-create-join-channel.js +++ b/migrations/20191127105740-create-join-channel.js @@ -1,33 +1,33 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('joinChannels', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - channelID: { - type: Sequelize.BIGINT - }, - guildID: { - type: Sequelize.BIGINT - }, - message: { - type: Sequelize.STRING - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('joinChannels'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('joinChannels', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + channelID: { + type: Sequelize.BIGINT + }, + guildID: { + type: Sequelize.BIGINT + }, + message: { + type: Sequelize.STRING + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('joinChannels'); + } }; \ No newline at end of file diff --git a/migrations/20191127105810-create-leave-channel.js b/migrations/20191127105810-create-leave-channel.js index 054abe4..6fb606e 100644 --- a/migrations/20191127105810-create-leave-channel.js +++ b/migrations/20191127105810-create-leave-channel.js @@ -1,33 +1,33 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('leaveChannels', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - channelID: { - type: Sequelize.BIGINT - }, - guildID: { - type: Sequelize.BIGINT - }, - message: { - type: Sequelize.STRING - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('leaveChannels'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('leaveChannels', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + channelID: { + type: Sequelize.BIGINT + }, + guildID: { + type: Sequelize.BIGINT + }, + message: { + type: Sequelize.STRING + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('leaveChannels'); + } }; \ No newline at end of file diff --git a/migrations/20200224133009-create-whitelist-word.js b/migrations/20200224133009-create-whitelist-word.js index bc44d8a..eac7351 100644 --- a/migrations/20200224133009-create-whitelist-word.js +++ b/migrations/20200224133009-create-whitelist-word.js @@ -1,30 +1,30 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('whitelistWords', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - word: { - type: Sequelize.STRING - }, - serverID: { - type: Sequelize.BIGINT - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('whitelistWords'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('whitelistWords', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + word: { + type: Sequelize.STRING + }, + serverID: { + type: Sequelize.BIGINT + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('whitelistWords'); + } }; \ No newline at end of file diff --git a/migrations/20200305204757-create-quotation-stat.js b/migrations/20200305204757-create-quotation-stat.js index 481bdf6..761e9ad 100644 --- a/migrations/20200305204757-create-quotation-stat.js +++ b/migrations/20200305204757-create-quotation-stat.js @@ -1,30 +1,30 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('quotationStats', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - serverID: { - type: Sequelize.BIGINT - }, - stat: { - type: Sequelize.STRING - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('quotationStats'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('quotationStats', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + serverID: { + type: Sequelize.BIGINT + }, + stat: { + type: Sequelize.STRING + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('quotationStats'); + } }; \ No newline at end of file diff --git a/migrations/20200318011556-create-command-block.js b/migrations/20200318011556-create-command-block.js index dc94588..6c487f4 100644 --- a/migrations/20200318011556-create-command-block.js +++ b/migrations/20200318011556-create-command-block.js @@ -1,30 +1,30 @@ 'use strict'; module.exports = { - up: (queryInterface, Sequelize) => { - return queryInterface.createTable('commandBlocks', { - id: { - allowNull: false, - autoIncrement: true, - primaryKey: true, - type: Sequelize.INTEGER - }, - serverID: { - type: Sequelize.BIGINT - }, - command: { - type: Sequelize.STRING - }, - createdAt: { - allowNull: false, - type: Sequelize.DATE - }, - updatedAt: { - allowNull: false, - type: Sequelize.DATE - } - }); - }, - down: (queryInterface, Sequelize) => { - return queryInterface.dropTable('commandBlocks'); - } + up: (queryInterface, Sequelize) => { + return queryInterface.createTable('commandBlocks', { + id: { + allowNull: false, + autoIncrement: true, + primaryKey: true, + type: Sequelize.INTEGER + }, + serverID: { + type: Sequelize.BIGINT + }, + command: { + type: Sequelize.STRING + }, + createdAt: { + allowNull: false, + type: Sequelize.DATE + }, + updatedAt: { + allowNull: false, + type: Sequelize.DATE + } + }); + }, + down: (queryInterface, Sequelize) => { + return queryInterface.dropTable('commandBlocks'); + } }; \ No newline at end of file diff --git a/models/bannedwords.js b/models/bannedwords.js index 077b506..0e75c48 100644 --- a/models/bannedwords.js +++ b/models/bannedwords.js @@ -1,11 +1,11 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const bannedWords = sequelize.define('bannedWords', { - word: DataTypes.STRING, - serverID: DataTypes.BIGINT - }, {}); - bannedWords.associate = function(models) { - // associations can be defined here - }; - return bannedWords; + const bannedWords = sequelize.define('bannedWords', { + word: DataTypes.STRING, + serverID: DataTypes.BIGINT + }, {}); + bannedWords.associate = function(models) { + // associations can be defined here + }; + return bannedWords; }; \ No newline at end of file diff --git a/models/borgar.js b/models/borgar.js index d04a131..4ee8c19 100644 --- a/models/borgar.js +++ b/models/borgar.js @@ -1,12 +1,12 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const borgar = sequelize.define('borgar', { - userID: DataTypes.BIGINT, - level: DataTypes.INTEGER, - xp: DataTypes.INTEGER - }, {}); - borgar.associate = function(models) { - // associations can be defined here - }; - return borgar; + const borgar = sequelize.define('borgar', { + userID: DataTypes.BIGINT, + level: DataTypes.INTEGER, + xp: DataTypes.INTEGER + }, {}); + borgar.associate = function(models) { + // associations can be defined here + }; + return borgar; }; \ No newline at end of file diff --git a/models/commandblock.js b/models/commandblock.js index 25409ed..81cae7d 100644 --- a/models/commandblock.js +++ b/models/commandblock.js @@ -1,11 +1,11 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const commandBlock = sequelize.define('commandBlock', { - serverID: DataTypes.BIGINT, - command: DataTypes.STRING - }, {}); - commandBlock.associate = function(models) { - // associations can be defined here - }; - return commandBlock; + const commandBlock = sequelize.define('commandBlock', { + serverID: DataTypes.BIGINT, + command: DataTypes.STRING + }, {}); + commandBlock.associate = function(models) { + // associations can be defined here + }; + return commandBlock; }; \ No newline at end of file diff --git a/models/donator.js b/models/donator.js index e21176d..a543ff9 100644 --- a/models/donator.js +++ b/models/donator.js @@ -1,11 +1,11 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const donator = sequelize.define('donator', { - userID: DataTypes.BIGINT, - comment: DataTypes.STRING - }, {}); - donator.associate = function(models) { - // associations can be defined here - }; - return donator; + const donator = sequelize.define('donator', { + userID: DataTypes.BIGINT, + comment: DataTypes.STRING + }, {}); + donator.associate = function(models) { + // associations can be defined here + }; + return donator; }; \ No newline at end of file diff --git a/models/guessleaderboard.js b/models/guessleaderboard.js index e15c433..220b3af 100644 --- a/models/guessleaderboard.js +++ b/models/guessleaderboard.js @@ -1,12 +1,12 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const guessLeaderboard = sequelize.define('guessLeaderboard', { - memberID: DataTypes.INTEGER, - try: DataTypes.INTEGER, - difficulty: DataTypes.STRING - }, {}); - guessLeaderboard.associate = function(models) { - // associations can be defined here - }; - return guessLeaderboard; + const guessLeaderboard = sequelize.define('guessLeaderboard', { + memberID: DataTypes.INTEGER, + try: DataTypes.INTEGER, + difficulty: DataTypes.STRING + }, {}); + guessLeaderboard.associate = function(models) { + // associations can be defined here + }; + return guessLeaderboard; }; \ No newline at end of file diff --git a/models/guildblacklist.js b/models/guildblacklist.js index 3f79b43..1498bd9 100644 --- a/models/guildblacklist.js +++ b/models/guildblacklist.js @@ -1,10 +1,10 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const guildBlacklist = sequelize.define('guildBlacklist', { - guildID: DataTypes.BIGINT - }, {}); - guildBlacklist.associate = function(models) { - // associations can be defined here - }; - return guildBlacklist; + const guildBlacklist = sequelize.define('guildBlacklist', { + guildID: DataTypes.BIGINT + }, {}); + guildBlacklist.associate = function(models) { + // associations can be defined here + }; + return guildBlacklist; }; \ No newline at end of file diff --git a/models/joinchannel.js b/models/joinchannel.js index 6269a24..d5735e7 100644 --- a/models/joinchannel.js +++ b/models/joinchannel.js @@ -1,12 +1,12 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const joinChannel = sequelize.define('joinChannel', { - channelID: DataTypes.BIGINT, - guildID: DataTypes.BIGINT, - message: DataTypes.STRING - }, {}); - joinChannel.associate = function(models) { - // associations can be defined here - }; - return joinChannel; + const joinChannel = sequelize.define('joinChannel', { + channelID: DataTypes.BIGINT, + guildID: DataTypes.BIGINT, + message: DataTypes.STRING + }, {}); + joinChannel.associate = function(models) { + // associations can be defined here + }; + return joinChannel; }; \ No newline at end of file diff --git a/models/leavechannel.js b/models/leavechannel.js index c942c66..d284f87 100644 --- a/models/leavechannel.js +++ b/models/leavechannel.js @@ -1,12 +1,12 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const leaveChannel = sequelize.define('leaveChannel', { - channelID: DataTypes.BIGINT, - guildID: DataTypes.BIGINT, - message: DataTypes.STRING - }, {}); - leaveChannel.associate = function(models) { - // associations can be defined here - }; - return leaveChannel; + const leaveChannel = sequelize.define('leaveChannel', { + channelID: DataTypes.BIGINT, + guildID: DataTypes.BIGINT, + message: DataTypes.STRING + }, {}); + leaveChannel.associate = function(models) { + // associations can be defined here + }; + return leaveChannel; }; \ No newline at end of file diff --git a/models/quotationstat.js b/models/quotationstat.js index 3314816..a5545c6 100644 --- a/models/quotationstat.js +++ b/models/quotationstat.js @@ -1,11 +1,11 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const quotationStat = sequelize.define('quotationStat', { - serverID: DataTypes.BIGINT, - stat: DataTypes.STRING - }, {}); - quotationStat.associate = function(models) { - // associations can be defined here - }; - return quotationStat; + const quotationStat = sequelize.define('quotationStat', { + serverID: DataTypes.BIGINT, + stat: DataTypes.STRING + }, {}); + quotationStat.associate = function(models) { + // associations can be defined here + }; + return quotationStat; }; \ No newline at end of file diff --git a/models/twitterblacklist.js b/models/twitterblacklist.js index 105aeb5..56c0882 100644 --- a/models/twitterblacklist.js +++ b/models/twitterblacklist.js @@ -1,11 +1,11 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const TwitterBlacklist = sequelize.define('TwitterBlacklist', { - userID: DataTypes.BIGINT, - reason: DataTypes.STRING - }, {}); - TwitterBlacklist.associate = function(models) { - // associations can be defined here - }; - return TwitterBlacklist; + const TwitterBlacklist = sequelize.define('TwitterBlacklist', { + userID: DataTypes.BIGINT, + reason: DataTypes.STRING + }, {}); + TwitterBlacklist.associate = function(models) { + // associations can be defined here + }; + return TwitterBlacklist; }; \ No newline at end of file diff --git a/models/userblacklist.js b/models/userblacklist.js index 6255d9e..fd71477 100644 --- a/models/userblacklist.js +++ b/models/userblacklist.js @@ -1,10 +1,10 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const userBlacklist = sequelize.define('userBlacklist', { - userID: DataTypes.BIGINT - }, {}); - userBlacklist.associate = function(models) { - // associations can be defined here - }; - return userBlacklist; + const userBlacklist = sequelize.define('userBlacklist', { + userID: DataTypes.BIGINT + }, {}); + userBlacklist.associate = function(models) { + // associations can be defined here + }; + return userBlacklist; }; \ No newline at end of file diff --git a/models/whitelistword.js b/models/whitelistword.js index aa9212f..d34fb62 100644 --- a/models/whitelistword.js +++ b/models/whitelistword.js @@ -1,11 +1,11 @@ 'use strict'; module.exports = (sequelize, DataTypes) => { - const whitelistWord = sequelize.define('whitelistWord', { - word: DataTypes.STRING, - serverID: DataTypes.BIGINT - }, {}); - whitelistWord.associate = function(models) { - // associations can be defined here - }; - return whitelistWord; + const whitelistWord = sequelize.define('whitelistWord', { + word: DataTypes.STRING, + serverID: DataTypes.BIGINT + }, {}); + whitelistWord.associate = function(models) { + // associations can be defined here + }; + return whitelistWord; }; \ No newline at end of file