diff --git a/src/TenancyServiceProvider.php b/src/TenancyServiceProvider.php index 233b87bb..4ac33bd5 100644 --- a/src/TenancyServiceProvider.php +++ b/src/TenancyServiceProvider.php @@ -22,15 +22,13 @@ class TenancyServiceProvider extends ServiceProvider */ public function boot() { - if ($this->app->runningInConsole()) { - $this->commands([ - Run::class, - Seed::class, - Migrate::class, - Rollback::class, - TenantList::class, - ]); - } + $this->commands([ + Run::class, + Seed::class, + Migrate::class, + Rollback::class, + TenantList::class, + ]); $this->publishes([ __DIR__ . '/config/tenancy.php' => config_path('tenancy.php'),