From 8ea3f606fd525e7e05f134750a007f627ed40686 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 8 Jul 2024 15:52:37 +0300 Subject: [PATCH] Removed unused migration registration method --- src/ServiceProvider.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/ServiceProvider.php b/src/ServiceProvider.php index 729be33..c87d1f4 100644 --- a/src/ServiceProvider.php +++ b/src/ServiceProvider.php @@ -20,7 +20,6 @@ public function boot(): void { if ($this->app->runningInConsole() || $this->app->runningUnitTests()) { $this->bootCommands(); - $this->bootMigrations(); } } @@ -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());