laravel
laravel copied to clipboard
The "--schema=" directive not being obeyed
The "--schema=" directive not being obeyed. It runs through all schemas.
It's been designed that way in order to keep track of cross schema relations. The way it works is when you specify a schema, it will only override files belonging to that schema. However, if the a table has a new relation on another schema, it will be able to to handle it.
The algorithm can be improved to lazy load schemas instead of eager loading them. This new approach would potentially solve this problem. Pull requests are welcomed.