无法执行 PHP artisan migrate 进行迁移
安装 laravel/passport
扩展后,无法执行 php artisan migrate
进行数据库迁移的小伙伴
在 app\Providers\AppServiceProvider.php
文件中的 boot()
方法下加入以下代码
public function boot()
{
Schema::defaultStringLength(191);
}
推荐文章: