I am in big problem. I am trying to rum php artisan migrate to generate table migration, but i am getting
php artisan migrate
[2016-03-08 05:49:01] local.ERR
It worked for me, see more here:
https://stackoverflow.com/a/49300262/5129122
try { return Permission::with('role')->get(); } catch (\Exception $e) { return []; }