-
Notifications
You must be signed in to change notification settings - Fork 11.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while running default migrations #17714
Comments
This has been reported several times: It's also documented in the Migrations documentation: https://laravel.com/docs/5.4/migrations#indexes ( under Adding this in your boot method of the
like so:
|
@RikSomers It worked, thank you! |
sweet thanks @RikSomers |
No problem, we're here to help eachother :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MySQL 5.5.42
Description:
When you run the php artisan migrate command, the following error occurs:
[PDOException] SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too l ong; max key length is 767 bytes
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: