Notifications
Clear all
BugOverflow
1
Posty
1
Users
0
Reactions
849
Widok
0
02/08/2021 11:07 am
Topic starter
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))
1 Answer
0
02/08/2021 11:09 am
Topic starter
- edit config/database.php
- inside "mysql" object find
-
'engine' => null,
- modify this line
-
'engine' => 'InnoDB ROW_FORMAT=DYNAMIC',
- or
-
'engine' => 'InnoDB',