Altered database.yml to use postgresql