Add helper function for bot settings
and fix registration check always returning true
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
module.exports = {
|
||||
async up (queryInterface, Sequelize) {
|
||||
await queryInterface.createTable('Bot', {
|
||||
await queryInterface.createTable('Bots', {
|
||||
id: {
|
||||
allowNull: false,
|
||||
autoIncrement: true,
|
||||
@@ -31,6 +31,6 @@ module.exports = {
|
||||
},
|
||||
|
||||
async down (queryInterface, Sequelize) {
|
||||
await queryInterface.dropTable('Bot');
|
||||
await queryInterface.dropTable('Bots');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user