In our app we have an entity, as per app design we have, the entity resides in 2 dbs. Conditionally we need to switch the source DB. Further, though same entity the tables slightly differ in 2 databases. What would be the correct way to have eloquent models for this scenario?
            Asked
            
        
        
            Active
            
        
            Viewed 44 times
        
    0
            
            
        - 
                    Possible duplicate of [How to use multiple database in Laravel](http://stackoverflow.com/questions/31847054/how-to-use-multiple-database-in-laravel) – Zakaria Acharki Feb 21 '16 at 00:31
1 Answers
0
            As gone through several sites, Repository Model will be right choice when we have business entities that comes from multiple datasource.
 
    
    
        Kannan Ramamoorthy
        
- 3,980
- 9
- 45
- 63