Migration to N database instances

Hi, there!

What is the best approach to execute a migration in several databases?

I mean, I have a service that is shared between clientes (stores), but
every store has its own db replica can be in different hosts (but they
are
all equal, both schema and software (mysql, for example)).

The app itself has a general db with the store informations, such as
name,
slug, …, and the db connections.

Should I do it in a loop in capistrano level for example or is there a
gem
that already does that?

Thanks in advance! :slight_smile:


Danilo A.
+55 21 9988-6671

note that store de connection info in a yml local file is not an option
:slight_smile:

On Wed, Apr 11, 2012 at 3:27 PM, Danilo A. [email protected]
wrote:

Should I do it in a loop in capistrano level for example or is there a gem
that already does that?

Thanks in advance! :slight_smile:


Danilo A.
+55 21 9988-6671


Danilo A.
+55 21 9988-6671