Skip to content

Commit

Permalink
Merge pull request #832 from yamenarahman/7.0
Browse files Browse the repository at this point in the history
fix migrations tag publish
  • Loading branch information
taylorotwell authored Sep 27, 2018
2 parents 7bb53d1 + 48021e6 commit 76ef21a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/PassportServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ public function boot()
if ($this->app->runningInConsole()) {
$this->registerMigrations();

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

$this->publishes([
__DIR__.'/../resources/views' => base_path('resources/views/vendor/passport'),
], 'passport-views');
Expand All @@ -65,10 +69,6 @@ protected function registerMigrations()
if (Passport::$runsMigrations) {
return $this->loadMigrationsFrom(__DIR__.'/../database/migrations');
}

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

/**
Expand Down

0 comments on commit 76ef21a

Please sign in to comment.