BingBites / bingbites

Restaurants and Events listings made easy.
0 stars 1 forks source link

Use sqlite for dev and test, pg for production #8

Open rosewcs345 opened 7 years ago

rosewcs345 commented 7 years ago

There shouldn't be any change in your config directory except for routes.rb

Rails uses sqlite for dev and test, why did you change it to mysql?? Heroku uses postgres for production, which means your gemfile should define gem 'pg' in the production environment.

Right now, your database.yml file says one thing, and your db directory says another.

All those .yml files should be left alone and not manually edited. USE THE FRAMEWORK, and stop trying to get around it.

suyogrnerkar commented 7 years ago

this was initially added for testing the setup.. removed the mysql support as default