1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 21:54:03 +00:00

First try at Laravel 8 (#491)

This commit is contained in:
Andre Sayej 2020-09-08 22:11:56 +03:00 committed by GitHub
parent 375380cc7e
commit 36aabb7883
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 9 deletions

View file

@ -57,7 +57,7 @@ class TenancyServiceProvider extends ServiceProvider
$this->app->bind(Contracts\UniqueIdentifierGenerator::class, $this->app['config']['tenancy.id_generator']);
$this->app->singleton(Commands\Migrate::class, function ($app) {
return new Commands\Migrate($app['migrator']);
return new Commands\Migrate($app['migrator'], $app['events']);
});
$this->app->singleton(Commands\Rollback::class, function ($app) {
return new Commands\Rollback($app['migrator']);