Skip to content

Commit 08cce66

Browse files
authored
load migrations from the package
instead of exporting them to the app's migration folder
1 parent c303f21 commit 08cce66

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ShopifyApp/ShopifyAppProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ public function boot()
3535
], 'config');
3636

3737
// Database migrations
38-
$this->publishes([
39-
__DIR__.'/resources/database/migrations' => "{$this->app->databasePath()}/migrations",
40-
], 'migrations');
38+
$this->loadMigrationsFrom(__DIR__.'/resources/database/migrations');
4139

4240
// Job publish
4341
$this->publishes([

0 commit comments

Comments
 (0)