Skip to content

Commit

Permalink
Updated publish commands
Browse files Browse the repository at this point in the history
  • Loading branch information
rennokki committed Jul 22, 2020
1 parent 5b9cec9 commit d842f3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -25,16 +25,16 @@ Install the package:
$ composer require rennokki/befriended
```

Publish the config file & migration files:
Publish the config:

```bash
$ php artisan vendor:publish
$ php artisan vendor:publish --provider="RenokiCo\Befriended\BefriendedServiceProvider" --tag="config"
```

Migrate the database:
Publish the migrations:

```bash
$ php artisan migrate
$ php artisan vendor:publish --provider="RenokiCo\Befriended\BefriendedServiceProvider" --tag="migrations"
```

## 🙌 Usage
Expand Down
2 changes: 1 addition & 1 deletion src/BefriendedServiceProvider.php
Expand Up @@ -22,7 +22,7 @@ public function boot()
__DIR__.'/../database/migrations/2018_07_14_183254_blockers.php' => database_path('migrations/2018_07_14_183254_blockers.php'),
__DIR__.'/../database/migrations/2018_07_14_183255_likers.php' => database_path('migrations/2018_07_14_183255_likers.php'),
__DIR__.'/../database/migrations/2020_01_14_171300_add_accepted_to_followers.php' => database_path('migrations/2020_01_14_171300_add_accepted_to_followers.php'),
], 'migration');
], 'migrations');
}

/**
Expand Down

0 comments on commit d842f3a

Please sign in to comment.