configuring database.yml for postgres