Skip to content

Commit

Permalink
fixed artisan commands registering
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorsone committed Jan 6, 2025
1 parent 32b0a7f commit 6639651
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/MultidomainServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,15 @@ public function register(): void

protected function registerCommands(): void
{
$this->commands([
MostbyteMigrate::class,
MostbyteRollback::class,
MostbyteSchema::class,
]);

if ($this->app->runningInConsole()) {
$this->commands([
MostbyteMigrate::class,
MostbyteRollback::class,
MostbyteFresh::class,
MostbyteSchema::class,
MostbyteInstall::class
]);
}
Expand Down

0 comments on commit 6639651

Please sign in to comment.