Skip to content

Commit

Permalink
add boot method to InboxServiceProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
mgamal92 committed Feb 17, 2024
1 parent bea0325 commit b111cf1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/InboxServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@ public function configurePackage(Package $package): void
->hasMigration('create_laravel-inbox_table')
->hasCommand(InboxCommand::class);
}

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

0 comments on commit b111cf1

Please sign in to comment.