laravel-fast-refresh-database icon indicating copy to clipboard operation
laravel-fast-refresh-database copied to clipboard

FastRefreshDatabase does not respect `loadMigrationsFrom` method from ServiceProvider

Open webard opened this issue 1 year ago • 2 comments

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.

webard avatar Feb 06 '24 10:02 webard

Also having this issue

nick-potts avatar Mar 01 '24 09:03 nick-potts

PR https://github.com/PlannrCrm/laravel-fast-refresh-database/pull/10 looks to resolve this issue, waiting for merge.

webard avatar Mar 01 '24 20:03 webard