Go to the path app/Providers/AppServiceProvider.php
and find boot()
method.
Add Schema::defaultStringLength(191);
to the method. Should look like this:
public function boot(){ Schema::defaultStringLength(191); }
I hereby claim:
To claim this, I am signing this object:
### Keybase proof | |
I hereby claim: | |
* I am hackinet on github. | |
* I am cybersoul (https://keybase.io/cybersoul) on keybase. | |
* I have a public key ASAOd81nCLWzWaHnUWtacMKu3Ric-1L-XCxmD9X3KTS1SAo | |
To claim this, I am signing this object: |