laravel-fast-refresh-database
laravel-fast-refresh-database copied to clipboard
FastRefreshDatabase does not respect `loadMigrationsFrom` method from ServiceProvider
https://github.com/PlannrCrm/laravel-fast-refresh-database/blob/f5055bd4406ea896be77530e9c0e61c47ea2d42d/src/Traits/FastRefreshDatabase.php#L54
Here is hardcoded path to database/migrations
, but in ServiceProvider is method loadMigrationsFrom
to set own database migrations path. For example, https://github.com/nWidart/laravel-modules package use this method to handle migrations in modules.
Also having this issue
PR https://github.com/PlannrCrm/laravel-fast-refresh-database/pull/10 looks to resolve this issue, waiting for merge.