adapted database.yml for pg