Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Add commit call to force the commands to go through.
James Colef1445b0132f3
diff --git a/app/Console/Commands/ForceDecimalSize.php b/app/Console/Commands/ForceDecimalSize.phpindex 07eae60f15..d2822a3008 100644--- a/app/Console/Commands/ForceDecimalSize.php+++ b/app/Console/Commands/ForceDecimalSize.php@@ -43,7 +43,7 @@ use VerifiesAccessToken;$question = $this->confirm('Do you want to continue?');if (true === $question) {$user = $this->getUser();- Log::channel('audit')->info(sprintf('User #%d ("%s") forced migrations.', $user->id, $user->email));+ Log::channel('audit')->info(sprintf('User #%d ("%s") forced DECIMAL size.', $user->id, $user->email));$this->updateDecimals();return 0;}diff --git a/app/Console/Commands/ForceMigration.php b/app/Console/Commands/ForceMigration.phpindex adaba09360..99dcc8cb95 100644--- a/app/Console/Commands/ForceMigration.php+++ b/app/Console/Commands/ForceMigration.php@@ -57,6 +57,7 @@ class ForceMigration extends Commandprivate function forceMigration(): void{+ DB::commit();$this->line('Dropping "migrations" table...');sleep(2);Schema::dropIfExists('migrations');