Skip to content

Commit 701fd2a

Browse files
committed
add load migrations
1 parent d00ee78 commit 701fd2a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/WalletServiceProvider.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ public function boot(): void
2424
return;
2525
}
2626

27+
$this->loadMigrationsFrom([
28+
__DIR__.'/../database/migrations_v1',
29+
__DIR__.'/../database/migrations_v2',
30+
]);
31+
2732
if (\function_exists('config_path')) {
2833
$this->publishes([
2934
\dirname(__DIR__) . '/config/config.php' => config_path('wallet.php'),

0 commit comments

Comments
 (0)