diff --git a/src/SubscriptionServiceProvider.php b/src/SubscriptionServiceProvider.php index 06b4856..fb06f9c 100755 --- a/src/SubscriptionServiceProvider.php +++ b/src/SubscriptionServiceProvider.php @@ -21,4 +21,11 @@ public function configurePackage(Package $package): void ->askToStarRepoOnGitHub('laravelcm/laravel-subscriptions'); }); } + + public function bootingPackage(): void + { + if ($this->app->runningInConsole()) { + $this->loadMigrationsFrom(__DIR__.'/../database/migrations'); + } + } }