1

我已经安装了 laravel jetstream(livewire) 并试图迁移。但它显示以下消息:

F:\laravel\testauth>php artisan migrate
Migrating: 2014_10_12_000000_create_users_table

Illuminate\Database\QueryException

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 
767 bytes (SQL: alter table `val` add unique `val_email_unique`(`email`))

在服务器http://127.0.0.1:8000

Illuminate\Database\QueryException
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'testauth.sessions' doesn't exist (SQL: 
select * from `sessions` where `id` = s2DP9nN1I65FxTeqR6vrUwiZ4XQj25kGa5JTCjEE limit 1) 
4

0 回答 0