extracting database configuration to prepare for using the knex migration functionality