From 04d85cc35d0dcff29d8596d90b350febebc277d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 13 Aug 2019 18:30:06 +0200 Subject: [PATCH] Fix #89 --- src/TenancyServiceProvider.php | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) 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'),