modify database.yml to for postgres