From 05515442871808808a5181cb1f4021b3447465d2 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 11 Oct 2025 12:02:40 +0200 Subject: Fix MySQL autoupdate Last user modified (#8090) Follow-up of https://github.com/FreshRSS/FreshRSS/pull/7886 (Probably wrong merge conflict resolution) --- app/Models/EntryDAO.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/Models/EntryDAO.php') diff --git a/app/Models/EntryDAO.php b/app/Models/EntryDAO.php index 707002875..93abc9a29 100644 --- a/app/Models/EntryDAO.php +++ b/app/Models/EntryDAO.php @@ -147,7 +147,7 @@ SQL; if (isset($errorInfo[0])) { if ($errorInfo[0] === FreshRSS_DatabaseDAO::ER_BAD_FIELD_ERROR || $errorInfo[0] === FreshRSS_DatabaseDAOPGSQL::UNDEFINED_COLUMN) { $errorLines = explode("\n", $errorInfo[2], 2); // The relevant column name is on the first line, other lines are noise - foreach (['attributes'] as $column) { + foreach (['attributes', 'lastUserModified'] as $column) { if (str_contains($errorLines[0], $column)) { return $this->addColumn($column); } -- cgit v1.2.3