I have a command that runs in an while(1) loop, which occasionally needs to send an email alert usin...
Take a look at relationships (specifically One to Many) https://laravel.com/docs/5.3/eloquent-relati...
It is not clear from OP why you need to run different vendors, as above, if it were me I would make...
If it is dictated that the slave has to be sql server, I would use this as the master too
When you say doesn't work, what error do you get? Be good if you could post your controller and view...
The Laravel portal for problem solving, knowledge sharing and community building.