This commit is contained in:
Chris
2018-02-05 15:39:26 +00:00
parent eb3c3b94d6
commit 09276f08fc
2 changed files with 30 additions and 26 deletions

View File

@@ -39,7 +39,9 @@ class AppServiceProvider extends ServiceProvider
if(version_compare($app_version, $db_version) == 1) { // app is higher than db, so need to run migrations etc
Artisan::call('migrate', array('--path' => 'database/migrations', '--force' => true, '--seed' => true));
}
}
} else {
Artisan::call('migrate', array('--path' => 'database/migrations', '--force' => true, '--seed' => true));
}
}
view()->share('alt_bg', $alt_bg);