Skip to content

Commit

Permalink
Always load migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
nWidart committed Jul 31, 2017
1 parent 5abd7be commit 95aa9e1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Modules/Translation/Providers/TranslationServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,19 @@ public function register()

public function boot()
{
if ($this->app->runningInConsole() === true) {
return;
}
$this->publishConfig('translation', 'config');
$this->publishConfig('translation', 'permissions');

$this->registerValidators();
$this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');

if ($this->app->runningInConsole() === true) {
return;
}

if ($this->shouldRegisterCustomTranslator()) {
$this->registerCustomTranslator();
}

$this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
}

/**
Expand Down

0 comments on commit 95aa9e1

Please sign in to comment.