diff --git a/README.md b/README.md index 78613b7..4277051 100644 --- a/README.md +++ b/README.md @@ -27,16 +27,16 @@ Install the package: $ composer require rennokki/eloquent-settings ``` -Publish the config file & migration files: +Publish the config: ```bash -$ php artisan vendor:publish +$ php artisan vendor:publish --provider="RenokiCo\Settings\SettingsServiceProvider" --tag="config" ``` -Migrate the database: +Publish the migrations: ```bash -$ php artisan migrate +$ php artisan vendor:publish --provider="RenokiCo\Settings\SettingsServiceProvider" --tag="migrations" ``` ## 🙌 Usage diff --git a/src/SettingsServiceProvider.php b/src/SettingsServiceProvider.php index b3c60c2..507b942 100644 --- a/src/SettingsServiceProvider.php +++ b/src/SettingsServiceProvider.php @@ -19,7 +19,7 @@ public function boot() $this->publishes([ __DIR__.'/../database/migrations/2018_05_19_135648_settings.php' => database_path('migrations/2018_05_19_135648_settings.php'), - ], 'migration'); + ], 'migrations'); } /**