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:

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