Changed database config to work with Postgres