Skip to content

Commit

Permalink
Merge pull request #37 from Laravel-Lang/1.x
Browse files Browse the repository at this point in the history
Removed unused migration registration method
  • Loading branch information
andrey-helldar authored Jul 8, 2024
2 parents 9dd987a + 8ea3f60 commit f689e3b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ public function boot(): void
{
if ($this->app->runningInConsole() || $this->app->runningUnitTests()) {
$this->bootCommands();
$this->bootMigrations();
}
}

Expand All @@ -32,13 +31,6 @@ protected function bootCommands(): void
]);
}

protected function bootMigrations(): void
{
$this->loadMigrationsFrom(
__DIR__ . '/../database/migrations'
);
}

protected function registry(): void
{
$this->app->singleton(Registry::class, fn () => new Registry());
Expand Down

0 comments on commit f689e3b

Please sign in to comment.