Open webard opened 9 months ago
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.
database/migrations
loadMigrationsFrom
Also having this issue
PR https://github.com/PlannrCrm/laravel-fast-refresh-database/pull/10 looks to resolve this issue, waiting for merge.
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 methodloadMigrationsFrom
to set own database migrations path. For example, https://github.com/nWidart/laravel-modules package use this method to handle migrations in modules.