遷移數(shù)據(jù)庫報錯
php artisan migrate
E:\wamp\www\log>php artisan migrate
Migration table created successfully.
? [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`))
? [PDOException]
? SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
編碼和laravel框架 里的數(shù)據(jù)庫配置一樣,數(shù)據(jù)庫版本是5.7.14,遷移過去兩張表,但是重置密碼的表沒有導進去,求解
2017-05-21
哎,問了不管事呀,用笨辦法自己解決了