Changed database.yml to postgresql