Skip to content
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

Migrations don't work #6

Closed
fosron opened this issue Nov 25, 2013 · 3 comments
Closed

Migrations don't work #6

fosron opened this issue Nov 25, 2013 · 3 comments

Comments

@fosron
Copy link

fosron commented Nov 25, 2013

When trying to run default package migrations i get this error

php artisan migrate --package=waavi/translation

[Exception]                                                                  
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t  
oo long; max key length is 1000 bytes (SQL: alter table `language_entries`   
add unique language_entries_language_id_namespace_group_item_unique(`langua  
ge_id`, `namespace`, `group`, `item`)) (Bindings: array (                    
))                                                                           

[PDOException]                                                               
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t  
oo long; max key length is 1000 bytes            
@fosron
Copy link
Author

fosron commented Nov 25, 2013

More about this problem: http://bugs.mysql.com/bug.php?id=4541#c284415

@fosron
Copy link
Author

fosron commented Nov 25, 2013

Added a pull request #7

@sildraug sildraug closed this as completed Feb 6, 2014
@mariavilaro
Copy link

Hi, 4 years later I got this error also. Why? What am I supposed to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants