laravel-fast-refresh-database
laravel-fast-refresh-database copied to clipboard
🚀 Refresh your test databases faster than you've ever seen before
This is a continuation of #10, where it uses's Laravel's migrator instance to fetch custom migration paths. Also added in the docs the ability to override `getCustomMigrationPaths` and `getMigrationPaths`.
Hi! Thanks for a great package. This PR adds all loaded migrations to the hash, not just the ones in the default path.
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...
Now checksum is creating based on `git` command what if specific project is used only localy without any repository? It is marginal situation but possible.