mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-19 06:43:45 +02:00
Add command to execute all of the normal upgrade commands for the application
This commit is contained in:
@@ -13,12 +13,14 @@ class UpCommand extends BaseUpCommand
|
||||
* Block someone from running this up command if they have not completed
|
||||
* the migration process.
|
||||
*/
|
||||
public function handle(): int
|
||||
public function handle()
|
||||
{
|
||||
if (!$this->hasCompletedMigrations()) {
|
||||
return $this->showMigrationWarning();
|
||||
$this->showMigrationWarning();
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
return parent::handle();
|
||||
parent::handle();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user