# Migrations with multiple "unrelated" databases

**URL:** <https://www.ruby-forum.com/t/migrations-with-multiple-unrelated-databases/154788>\
**Category:** Rails\
**Created:** [December 3, 2008, 11:07pm UTC](https://www.ruby-forum.com/t/migrations-with-multiple-unrelated-databases/154788 "2008-12-03T23:07:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![student](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ecc23a/32.png) [@student](https://www.ruby-forum.com/u/student)\
**Post date:** [December 3, 2008, 11:07pm UTC](https://www.ruby-forum.com/t/migrations-with-multiple-unrelated-databases/154788/1 "2008-12-03T23:07:35Z")

</div>

I’ve read the various articles and documentation out there, but no one  
seems to have addressed the issue of managing migrations with multiple  
“unrelated” databases. Connections appear to be things that go with  
ActiveRecord::Base-type things, not ActiveRecord::Migration-type  
things. I’m not asking to mix accesses to different databases in the  
same migration, just to be able to specify which database applies for  
a given migration.
