Skip to content

Commit c2f0638

Browse files
authored
make asset publishing unique to this app
1 parent 3cd65e1 commit c2f0638

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ShopifyApp/ShopifyAppProvider.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ public function boot()
3232
// Config publish
3333
$this->publishes([
3434
__DIR__.'/resources/config/shopify-app.php' => "{$this->app->configPath()}/shopify-app.php",
35-
], 'config');
35+
], 'shopify-config');
3636

3737
// Database migrations
3838
// @codeCoverageIgnoreStart
3939
if (Config::get('shopify-app.manual_migrations')) {
4040
$this->publishes([
4141
__DIR__.'/resources/database/migrations' => "{$this->app->databasePath()}/migrations",
42-
], 'migrations');
42+
], 'shopify-migrations');
4343
} else {
4444
$this->loadMigrationsFrom(__DIR__.'/resources/database/migrations');
4545
}
@@ -48,7 +48,7 @@ public function boot()
4848
// Job publish
4949
$this->publishes([
5050
__DIR__.'/resources/jobs/AppUninstalledJob.php' => "{$this->app->path()}/Jobs/AppUninstalledJob.php",
51-
], 'jobs');
51+
], 'shopify-jobs');
5252

5353
// Shop observer
5454
$shopModel = Config::get('shopify-app.shop_model');

0 commit comments

Comments
 (0)