@Sinnbeck I have project that use 3 more databases on different locations. All database structure is the same, but one database has another table names. I think about this:
if ($request->var == ..) {
use default table
} else {
use not-default table
}
@aurorame ok that sounds like it's going to be hard to maintain. If it isn't determined at the start of the request, I'm not sure I have a good solution. I was thinking of adding the getTable() method to the model and have the logic there