Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
🤖 Auto commit for release 'v6.6.1' on 2026-04-19
JC5a567280d1b9d
diff --git a/app/Console/Commands/Upgrade/RepairsPostgresSequences.php b/app/Console/Commands/Upgrade/RepairsPostgresSequences.phpindex 0ba90d0737..f0a11c8d6c 100644--- a/app/Console/Commands/Upgrade/RepairsPostgresSequences.php+++ b/app/Console/Commands/Upgrade/RepairsPostgresSequences.php@@ -36,7 +36,7 @@ class RepairsPostgresSequences extends Commandprotected $description = 'Fixes issues with PostgreSQL sequences.';- protected $signature = 'upgrade:600-pgsql-sequences';+ protected $signature = 'upgrade:600-pgsql-sequences';/*** Execute the console command.@@ -110,10 +110,15 @@ class RepairsPostgresSequences extends Command$highestId = DB::table($tableToCheck)->select(DB::raw('MAX(id)'))->first();} catch (QueryException $e) {Log::warning(sprintf('Could not select max, but will ignore this: %s', $e->getMessage()));+continue;}+try {- $nextId = DB::table($tableToCheck)->select(DB::raw(sprintf('nextval(\'%s_id_seq\')', $tableToCheck)))->first();+ $nextId = DB::table($tableToCheck)+ ->select(DB::raw(sprintf('nextval(\'%s_id_seq\')', $tableToCheck)))+ ->first()+ ;} catch (QueryException $e) {Log::warning(sprintf('Could not get nextval, but will ignore this: %s', $e->getMessage()));$nextId = null;@@ -128,8 +133,9 @@ class RepairsPostgresSequences extends CommandDB::select(sprintf('SELECT setval(\'%s_id_seq\', %d)', $tableToCheck, $highestId->max));$highestId = DB::table($tableToCheck)->select(DB::raw('MAX(id)'))->first();$nextId = DB::table($tableToCheck)- ->select(DB::raw(sprintf('nextval(\'%s_id_seq\')', $tableToCheck)))- ->first();+ ->select(DB::raw(sprintf('nextval(\'%s_id_seq\')', $tableToCheck)))+ ->first()+ ;if ($nextId->nextval > $highestId->max) {$this->friendlyInfo(sprintf('Table "%s" autoincrement corrected.', $tableToCheck));}diff --git a/changelog.md b/changelog.mdindex 33da13fe32..26804f35f7 100644--- a/changelog.md+++ b/changelog.md@@ -29,7 +29,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).- [Issue 12081](https://github.com/firefly-iii/firefly-iii/issues/12081) (Discord changes webhook domain) reported by @MinDBreaK- [Issue 12083](https://github.com/firefly-iii/firefly-iii/issues/12083) (Hide or remove the Ntfy fields if they dont work.) reported by @OrakMoya- [Issue 12107](https://github.com/firefly-iii/firefly-iii/issues/12107) (Exception sending test email notification) reported by @antrv-- #12154+- [Issue 12154](https://github.com/firefly-iii/firefly-iii/issues/12154) (Error on artisan firefly-iii:upgrade-database v6.6.0) reported by @Tealk## v6.6.0 - 2026-04-19diff --git a/config/firefly.php b/config/firefly.phpindex fab16ed2f3..82aa12824a 100644--- a/config/firefly.php+++ b/config/firefly.php@@ -78,8 +78,8 @@ return ['running_balance_column' => (bool)envDefaultWhenEmpty(env('USE_RUNNING_BALANCE'), true), // this is only the default value, is not used.// see cer.php for exchange rates feature flag.],-'version' => '6.6.0',-'build_time' => 1776585580,+'version' => '6.6.1',+'build_time' => 1776590142,'api_version' => '2.1.0', // field is no longer used.'db_version' => 28, // field is no longer used.