mirror of
https://github.com/linuxserver/Heimdall.git
synced 2026-03-02 16:33:41 +09:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
724110dad2 |
@@ -39,6 +39,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
$app_version = config('app.version');
|
||||
if (version_compare($app_version, $db_version) == 1) { // app is higher than db, so need to run migrations etc
|
||||
Artisan::call('migrate', ['--path' => 'database/migrations', '--force' => true, '--seed' => true]);
|
||||
ProcessApps::dispatch();
|
||||
}
|
||||
} else {
|
||||
Artisan::call('migrate', ['--path' => 'database/migrations', '--force' => true, '--seed' => true]);
|
||||
|
||||
Reference in New Issue
Block a user