Ruby on Rails
Saturday, March 9, 2019
Define 2 stanzas in database.yml. One for your postgres database, the second for your mysql. "bundle exec rails db:schema:dump RAILS_ENV=$POSTGRES_STANZA" will save the data and "bundle exec rails db:schema:load RAILS_ENV=$MYSQL_STANZA" will restore it to mysql. Let me know if you should require further assistance. -- H
On Sat, 9 Mar 2019 at 11:10, <brainiacsys5@gmail.com> wrote:
Hey Everyone,--I need to dump the data from a postgress database in Heroku to a mysql database in Heroku for the Ruby on Rails app that has been upgraded. Can anyone walk me through the process. Ideally I want to dump the data to my machine so there is an offline retention of the change as well. Please advise.Thanks,
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/9dcc62aa-fc44-486f-ac4d-10911cc4848a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
If you wish to request my time, please do so using bit.ly/hd1AppointmentRequest.
Si vous voudrais faire connnaisance, allez a bit.ly/hd1AppointmentRequest.
Envoye de mon portable
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAP%2BbYWDrodT-Ram7ebPEh4y6E%2Bxj1jrbOEO5PCJfoCRbx_7AEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment