laracon-online-2020 icon indicating copy to clipboard operation
laracon-online-2020 copied to clipboard

Migrations

Open dmgctrlr opened this issue 5 years ago • 1 comments

Hi,

I don think all the migrations are included. Table 'repos' not found. Also $connection = \App\Repo::sushiConnectionName(); throws an error

dmgctrlr avatar Feb 27 '20 01:02 dmgctrlr

change the AppServiceProvider.php \App\Repo to App\Repo (tested in mac os) it works for me

        if (class_exists(App\Repo::class)) {
            // Refresh sushi.
            $connection = App\Repo::sushiConnectionName();
            \DB::setDefaultConnection($connection);
            (new \App\Repo);
        }

Aksoom-Hussain avatar Feb 28 '20 09:02 Aksoom-Hussain