Open
Description
Hi,
Just found a sneaky bug.
The tenancy:migrate
command changes the default connection to tenant. This isn't a problem when using the command in the terminal, however, as it is also called from Connection::migrate(), creating a website changes the default database.
This is a huge issue for me as I'm changing the default connection via middleware so that I can use laravel passport for system and tenant apis.
I should get a chance to put in a pull request next week, unless someone else can do so sooner.
Cheers,
George