changed config/database.yml to postgresql