Moved migrate command before update tables

This commit is contained in:
Burak Çakırel 2021-05-17 22:40:33 +03:00
parent 5f9fe563f4
commit 35effbafd2
No known key found for this signature in database
GPG Key ID: 48FFBB7771B99C7C

View File

@ -27,9 +27,9 @@ class Version2114 extends Listener
return;
}
$this->updateMediaTables();
Artisan::call('migrate', ['--force' => true]);
$this->updateMediaTables();
}
public function updateMediaTables()