Unresolvable dependency resolving in Illuminate\Database\Migrations\MigrationCreato #37254
Unanswered
weileong17
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description:
I just upgraded from Laravel 5.8 to Laravel 8 using Laravel Shift. After I ran composer update, I got this error
The same issued was mentioned here: #36954
It looks like a package issue.
In the Illuminate\Database\Migrations\MigrationCreator file, I could add a default value in constructor method:
https://github.com/illuminate/database/blob/9c885fa7131a6f30a845ce4ab67bf44fb2918d7c/Migrations/MigrationCreator.php#L40-L43
But this tweak will be gone after any composer update or install.
Beta Was this translation helpful? Give feedback.
All reactions