Skip to content

Commit

Permalink
Add publishables
Browse files Browse the repository at this point in the history
  • Loading branch information
timgavin committed Apr 27, 2024
1 parent 37872e5 commit 65ff9f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `Laravel Follow` will be documented in this file.

## 1.1.10

- Added ability to publish migrations and config

## 1.1.9

- Replaced `auth()` with `$this`
Expand Down
8 changes: 8 additions & 0 deletions src/LaravelFollowServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ public function boot(): void
{
$this->loadMigrationsFrom(__DIR__ . '/../database/migrations');

$this->publishes([
__DIR__.'/../database/migrations' => database_path('migrations')
], 'migrations');

$this->publishes([
__DIR__.'/../config/laravel-follow.php' => config_path('laravel-follow.php')
], 'config');

if ($this->app->runningInConsole()) {
$this->bootForConsole();
}
Expand Down

0 comments on commit 65ff9f5

Please sign in to comment.