Update index.js

This commit is contained in:
Isaac 2020-10-16 19:58:33 +01:00 committed by GitHub
parent d1e76aac32
commit 69154b1e42
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,