Laravel jordanmiguel/laravel-popular error
I’m using Laravel/popular and when i add 3 classes and migrate it gives me error. Here that 3 classes are listed:
JordanMiguelLaravelPopularLaravelPopularServiceProvider::class,
IlluminateFoundationProvidersArtisanServiceProvider::class,
IlluminateAuthAuthServiceProvider:class,
In Connection.php line 664:
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key
was too long; max key length is 1000 bytes (SQL: alter tablevisits
add uniquevisits_ip_visitable_id_visitable_type_date_unique
(ip
,
visitable_id
,visitable_type
,date
))
In Connection.php line 458:
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key
was too long; max key length is 1000 bytes
from Laravel Questions and Answers https://laravelquestions.com/laravel/laravel-jordanmiguel-laravel-popular-error/
via Lzo Media
No comments:
Post a Comment