1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-04 20:34:03 +00:00
This commit is contained in:
Samuel Štancl 2019-08-13 18:30:06 +02:00
parent 490c776bc8
commit 04d85cc35d

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'),