Tag: Laravel
-
Error “Index column size too large. The maximum column size is 767 bytes. ”When running migrations.
Ao rodar migrações com String do Laravel, me deparei com o erro: SQLSTATE[HY000]: General error: 1709 Index column size too large. The maximum column size is 767 bytes. (SQL: alter table `users` add unique `users_email_unique`(`email`)) In Connection.php line 458: SQLSTATE[HY000]: General error: 1709 Index column size too large. The maximum column size is 767 bytes.…