Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Mior Muhammad Zaki <[email protected]>
  • Loading branch information
crynobone committed Dec 4, 2024
1 parent 9e0dc20 commit 90533a4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Concerns/InteractsWithMigrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,13 @@ protected function loadMigrationsFrom(array|string $paths): void
return;
}

if (\is_null($this->app)) {
throw ApplicationNotAvailableException::make(__METHOD__);
}

/** @var array<string, mixed>|string $paths */
$migrator = new MigrateProcessor($this, $this->resolvePackageMigrationsOptions($paths));
$migrator->up();

array_unshift($this->cachedTestMigratorProcessors, $migrator);

$this->resetApplicationArtisanCommands($this->app);
$this->resetApplicationArtisanCommands($app);
}

/**
Expand Down

0 comments on commit 90533a4

Please sign in to comment.