From 8d87abde64d291c29207729cb93a89e3bb73632b Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 21 Jun 2023 09:58:37 +0200 Subject: [PATCH] Fix https://github.com/firefly-iii/firefly-iii/issues/7678 --- app/Console/Commands/Upgrade/FixPostgresSequences.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/Console/Commands/Upgrade/FixPostgresSequences.php b/app/Console/Commands/Upgrade/FixPostgresSequences.php index 40f52ee89e..71399ebd29 100644 --- a/app/Console/Commands/Upgrade/FixPostgresSequences.php +++ b/app/Console/Commands/Upgrade/FixPostgresSequences.php @@ -124,8 +124,7 @@ class FixPostgresSequences extends Command $highestId = DB::table($tableToCheck)->select(DB::raw('MAX(id)'))->first(); $nextId = DB::table($tableToCheck)->select(DB::raw(sprintf('nextval(\'%s_id_seq\')', $tableToCheck)))->first(); if (null === $nextId) { - $this->friendlyInfo(); - e(sprintf('nextval is NULL for table "%s", go to next table.', $tableToCheck)); + $this->friendlyInfo(sprintf('nextval is NULL for table "%s", go to next table.', $tableToCheck)); continue; }