Skip to content

Instantly share code, notes, and snippets.

@drmcarvalho
Last active March 26, 2017 14:45
Show Gist options
  • Save drmcarvalho/31a9af1fa3d1c5de9e1242f3e88a0ce7 to your computer and use it in GitHub Desktop.
Save drmcarvalho/31a9af1fa3d1c5de9e1242f3e88a0ce7 to your computer and use it in GitHub Desktop.
Solução para erros do laravel.

#Solução para o erro:

Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes (SQL: alter table users add unique users_email_unique(email))

link:http://stackoverflow.com/questions/23786359/laravel-migration-unique-key-is-too-long-even-if-specified

=====

#Solução para o erro: Access denied for user 'homestead'@'localhost' (using password: YES) (SQL: select * from information_schema.tables where table_schema = homestead and table_name

Deixar as mesmas configurações no arquivo .env e no arquivo database.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment