modify database.yml for postgres db