Configure database.yml for postgresql