PHP & Platform
8.3 MacOS Sonoma 14.4.4
Database
MySQL 8.0.33
Laravel version
10.43.0
Have you done this?
Expectation
When I run the migrations I expect it to add all the 2fa table without erroring
Description
After running the migrations command I get this MySQL Error:
SQLSTATE[42000]: Syntax error or access violation: 1059 Identifier name 'two_factor_authentications_authenticatable_type_authenticatable_id_index' is too long (Connection: mysql, SQL: alter table two_factor_authentications add index two_factor_authentications_authenticatable_type_authenticatable_id_index(authenticatable_type, authenticatable_id))
Reproduction
php artisan two-factor:install
php artisan migrate
Stack trace & logs
No response
PHP & Platform
8.3 MacOS Sonoma 14.4.4
Database
MySQL 8.0.33
Laravel version
10.43.0
Have you done this?
Expectation
When I run the migrations I expect it to add all the 2fa table without erroring
Description
After running the migrations command I get this MySQL Error:
SQLSTATE[42000]: Syntax error or access violation: 1059 Identifier name 'two_factor_authentications_authenticatable_type_authenticatable_id_index' is too long (Connection: mysql, SQL: alter table
two_factor_authenticationsadd indextwo_factor_authentications_authenticatable_type_authenticatable_id_index(authenticatable_type,authenticatable_id))Reproduction
Stack trace & logs
No response