Laravel jordanmiguel/laravel-popular error - development

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,

Laravel popular

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 table visits
add unique visits_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

Comments

Popular posts from this blog

ng-include of inline SVG does not display gradient except in Chrome

Using PHP and MySQL data to generate PDF letters like in MS Word mailmerge functionality - development

ng-show doesn’t work correct with value boolean