Skip to content

Commit

Permalink
Updated the publish command
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki committed Jul 22, 2020
1 parent 01b2695 commit b2875ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/SettingsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

/**
Expand Down

0 comments on commit b2875ca

Please sign in to comment.