Always load migrations

parent 5abd7be2
...@@ -49,19 +49,19 @@ class TranslationServiceProvider extends ServiceProvider ...@@ -49,19 +49,19 @@ class TranslationServiceProvider extends ServiceProvider
public function boot() public function boot()
{ {
if ($this->app->runningInConsole() === true) {
return;
}
$this->publishConfig('translation', 'config'); $this->publishConfig('translation', 'config');
$this->publishConfig('translation', 'permissions'); $this->publishConfig('translation', 'permissions');
$this->registerValidators(); $this->registerValidators();
$this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
if ($this->app->runningInConsole() === true) {
return;
}
if ($this->shouldRegisterCustomTranslator()) { if ($this->shouldRegisterCustomTranslator()) {
$this->registerCustomTranslator(); $this->registerCustomTranslator();
} }
$this->loadMigrationsFrom(__DIR__ . '/../Database/Migrations');
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment