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 6da6fd0 commit 797d791
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 Block` 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/LaravelBlockServiceProvider.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-block.php' => config_path('laravel-block.php')
], 'config');

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

0 comments on commit 797d791

Please sign in to comment.