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?
            Asked
            
        
        
            Active
            
        
            Viewed 734 times
        
    1 Answers
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