Error when trying to migrate after fresh install
Closed this issue · 3 comments
TendezaDev commented
An error occurs when trying to migrate after a fresh install, no files changed.
Command: php artisan migrate
Illuminate\Database\QueryException
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 [PathToProject]\vendor\laravel\framework\src\Illuminate\Database\Connection.php:501
PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes")
2 [PathToProject]\vendor\laravel\framework\src\Illuminate\Database\Connection.php:501
PDOStatement::execute()
ozziexsh commented
hey this is a laravel issue not this generator
please take a look at this link
TendezaDev commented
@ozziexsh Hey, where can I ask general questions about the codebase of this project, not necessarily an issue?
ozziexsh commented
@TendezaDev go ahead and do it in a new issue 🙂