mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 07:38:29 +00:00
Give commands proper exit codes.
This commit is contained in:
@@ -82,7 +82,7 @@ class UpgradeDatabase extends Command
|
||||
/**
|
||||
* Execute the console command.
|
||||
*/
|
||||
public function handle(): void
|
||||
public function handle(): int
|
||||
{
|
||||
$this->setTransactionIdentifier();
|
||||
$this->updateAccountCurrencies();
|
||||
@@ -96,6 +96,8 @@ class UpgradeDatabase extends Command
|
||||
$this->migrateBillsToRules();
|
||||
|
||||
$this->info('Firefly III database is up to date.');
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user