Configured database.yml file for postgres