Advertisement
Guest User

Untitled

a guest
Feb 8th, 2018
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. .env:
  2.  
  3. DB_CONNECTION=mysql
  4. DB_HOST=127.0.0.1
  5. DB_PORT=3306
  6. DB_DATABASE=aperture
  7. DB_USERNAME=aperture
  8. DB_PASSWORD=my-super-password
  9.  
  10. -------------------------
  11.  
  12. $ php artisan migrate
  13. Migration table created successfully.
  14.  
  15. [Illuminate\Database\QueryException]
  16. SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long;
  17. max key length is 767 bytes (SQL: alter table `users` add unique `users_url_unique`(
  18. `url`))
  19.  
  20. [Doctrine\DBAL\Driver\PDOException]
  21. SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long;
  22. max key length is 767 bytes
  23.  
  24. [PDOException]
  25. SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long;
  26. max key length is 767 bytes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement