mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-23 00:03:09 +02:00
Update index.js
This commit is contained in:
parent
d1e76aac32
commit
69154b1e42
@ -71,8 +71,8 @@ case 'mariadb':
|
|||||||
logging: log.debug
|
logging: log.debug
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case 'postgres':
|
case 'postgre':
|
||||||
log.info('Connecting to PostgresSQL database...');
|
log.info('Connecting to PostgreSQL database...');
|
||||||
sequelize = new Sequelize(process.env.DB_NAME, process.env.DB_USER, process.env.DB_PASS, {
|
sequelize = new Sequelize(process.env.DB_NAME, process.env.DB_USER, process.env.DB_PASS, {
|
||||||
dialect: 'postgres',
|
dialect: 'postgres',
|
||||||
host: process.env.DB_HOST,
|
host: process.env.DB_HOST,
|
||||||
@ -169,4 +169,4 @@ process.on('unhandledRejection', error => {
|
|||||||
log.error(error);
|
log.error(error);
|
||||||
});
|
});
|
||||||
|
|
||||||
client.login(process.env.TOKEN);
|
client.login(process.env.TOKEN);
|
||||||
|
Loading…
Reference in New Issue
Block a user