Is there anybody who knows how to run migrations against each database connection specified through the yml files in the /config/databases directory using Capistrano?
I know it's possible to specify the RAILS_ENV when running the migration task, but as the connection details are specified in seperate files rather than in the original database.yml file this doesn't work.
Any ideas?
If so, I'd recommend to add that information to the Wiki of client_database_switching.
Is there anybody who knows how to run migrations against each database connection specified through the yml files in the /config/databases directory using Capistrano?
I know it's possible to specify the RAILS_ENV when running the migration task, but as the connection details are specified in seperate files rather than in the original database.yml file this doesn't work.
Any ideas?
If so, I'd recommend to add that information to the Wiki of client_database_switching.