ruby on rails - Two different databases -
is possible have 2 different databases development or production? 1 heroku , 1 local development?
heroku uses postgresql prefer sqllite local development.
yes, it's totally possible - can use heroku db:push
push local sqlite database postgres running on heroku.
but
and personal experience, i've run situations sql i've written different between sqlite/postgres/mysql and gems i've used used findbysql weren't tested against postgres , has caught out when i've put on heroku.
for few seconds takes install postgres locally recommend use db platform going deploy to.
Comments
Post a Comment