Skip to content

Commit

Permalink
Fix #89 (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
stancl authored Aug 13, 2019
1 parent e2d35bc commit 769ec16
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/TenancyServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit 769ec16

Please sign in to comment.