1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 14:34:04 +00:00
This commit is contained in:
Samuel Štancl 2019-08-13 18:36:41 +02:00 committed by GitHub
parent e2d35bc18d
commit 769ec16f89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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