diff --git a/src/Commands/Migrate.php b/src/Commands/Migrate.php index fed6cc67..1f03fe95 100644 --- a/src/Commands/Migrate.php +++ b/src/Commands/Migrate.php @@ -57,10 +57,14 @@ class Migrate extends MigrateCommand event(new DatabaseMigrated($tenant)); }); + + return 0; } catch (TenantDatabaseDoesNotExistException|QueryException $th) { if (! $this->option('skip-failing')) { throw $th; } + + return 1; } } }