You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed Snipe-Migrations according to the Readme, but running tests that use RefreshDatabase, the package is unable to create a snapshot and populate the database.
Instead, I get an error telling me that "The "" directory does not exist.".
I did some digging and a possible issue might be that "app()['migrator']->paths()" includes an empty entry at index 0. Not sure if that's normal or where that's coming from. At least that's the point where the script seems to fail.
The text was updated successfully, but these errors were encountered:
Hello, I had a similar problem. It was not creating the snapshots, but I think that is not the same problem, but maybe my solution fixes the creation of the snapshots.
If you want, you can check my pull request to check it it works also for you ( #34 )
You can use my branch in your composer.json editing it:
I installed Snipe-Migrations according to the Readme, but running tests that use RefreshDatabase, the package is unable to create a snapshot and populate the database.
Instead, I get an error telling me that "The "" directory does not exist.".
I did some digging and a possible issue might be that "app()['migrator']->paths()" includes an empty entry at index 0. Not sure if that's normal or where that's coming from. At least that's the point where the script seems to fail.
The text was updated successfully, but these errors were encountered: