Oh Glenn, I found an article about this, thanks for posting a github link :)<br><br><div class="gmail_quote">On Mon, Nov 16, 2009 at 12:52 PM, Glenn @ Ruby Pond Ltd <span dir="ltr"><<a href="mailto:glenn@rubypond.com">glenn@rubypond.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">> I would now like to use a MySQL database, as is typical for most Rails<br>
> webapps, but I want the changeover to be seamless, I don't want to lose any<br>
> data or connections.<br>
> Can anyone point me in the direction of the best practice for this kind of<br>
> migration?<br>
<br>
</div>I wont claim this is best practice, but whenever a production<br>
environment db doesn't match what I use locally for dev (postgres)<br>
I've got a cap/rake task that pulls down the data and loads it using<br>
yaml_db:<br>
<br>
<a href="http://github.com/adamwiggins/yaml_db" target="_blank">http://github.com/adamwiggins/yaml_db</a><br>
<br>
Not great if you've got loads of data on production, but handy when<br>
trying to debug problems. May suit your needs too.<br>
<br>
Glenn<br>
<font color="#888888">--<br>
Ruby Pond Ltd<br>
7 Clarence Pde, Cheltenham, GL5 03NY<br>
United Kingdom<br>
<br>
T: 0207 183 2224<br>
F: 0207 183 2223<br>
W: <a href="http://rubypond.com/" target="_blank">http://rubypond.com/</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</div></div></blockquote></div><br>