I am trying to set up a multiple database application in laravel 5. I have a database A and a second database B. In database A there are my main models. Now I tried to write a m
I found it out with the help of this Use one Laravel migrations table per database and post the answer here for others.
In order to separate the migrations you need to run the migrate command with the database option like this:
php artisan migrate --database="nameOfConnection"