0

My application is connected two databases one primary, and another for reporting purpose, Now I want to to run a migration on reporting database, how to do that?

Sachin Singh
  • 7,107
  • 6
  • 40
  • 80

1 Answers1

0

You should be able to do this with a custom rake task. Checkout this link: ActiveRecord multiple dbs.

This might be helpful too; provides alternative methods: https://stackoverflow.com/questions/1404620

Community
  • 1
  • 1
user3361996
  • 373
  • 3
  • 14