While testing the module:migrate-fresh command, I discovered that root migrations were not being executed before the module migrations.
This issue occurs because, in the Laravel framework's migrate command, the default migration paths are merged when the method is called, but they are not registered by default. You can see the relevant code here: Laravel Framework Migration Command.
Hi,
While testing the
module:migrate-fresh
command, I discovered that root migrations were not being executed before the module migrations.This issue occurs because, in the Laravel framework's
migrate
command, the default migration paths are merged when the method is called, but they are not registered by default. You can see the relevant code here: Laravel Framework Migration Command.This pull request addresses and fixes this issue, ensuring that root migrations are executed before module migrations.