diff --git a/README.md b/README.md index be5d92b..ba811b3 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ $ php artisan migrate If you want to make changes in migrations, publish them to your application first. ```sh -$ php artisan vendor:publish --provider="Cog\Laravel\Sense\Providers\SenseServiceProvider" --tag=migrations +$ php artisan vendor:publish --tag=sense-migrations ``` ## Usage diff --git a/src/Providers/SenseServiceProvider.php b/src/Providers/SenseServiceProvider.php index 7c7fe35..3eda5a5 100644 --- a/src/Providers/SenseServiceProvider.php +++ b/src/Providers/SenseServiceProvider.php @@ -100,7 +100,7 @@ protected function offerPublishing(): void $this->publishes([ $migrationsPath => database_path('migrations'), - ], 'migrations'); + ], 'sense-migrations'); $this->publishes([ __DIR__ . '/../../config/sense.php' => config_path('sense.php'),