mssql->postgres

This commit is contained in:
BillMills 2019-06-22 13:07:47 -04:00
parent b91f76c9ce
commit c3cabcc273

View File

@ -5,9 +5,13 @@ var log = require('../log');
log.Logger.debug('Initializing connection to SQL Server: %s', dbConfig.connection.host);
var sequelize = new Sequelize(dbConfig.connection.dbName, dbConfig.connection.username, dbConfig.connection.password, {
dialect: 'mssql',
dialect: 'postgres',
host: dbConfig.connection.host,
port: dbConfig.connection.port,
omitNull: true,
define: {
timestamps: false
},
pool: {
max: dbConfig.pool.max
},