From 1ceea811003d349a08003a5c1194a527bc88d466 Mon Sep 17 00:00:00 2001 From: Henry Heng Date: Mon, 16 Sep 2024 16:53:53 +0100 Subject: [PATCH] Bugfix/Update mysql record manager update (#3199) update mysql record manager update --- .../recordmanager/MySQLRecordManager/MySQLrecordManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/nodes/recordmanager/MySQLRecordManager/MySQLrecordManager.ts b/packages/components/nodes/recordmanager/MySQLRecordManager/MySQLrecordManager.ts index 9e7055208eb..f246fcf4726 100644 --- a/packages/components/nodes/recordmanager/MySQLRecordManager/MySQLrecordManager.ts +++ b/packages/components/nodes/recordmanager/MySQLRecordManager/MySQLrecordManager.ts @@ -258,7 +258,7 @@ class MySQLRecordManager implements RecordManagerInterface { const query = ` INSERT INTO \`${this.tableName}\` (\`key\`, \`namespace\`, \`updated_at\`, \`group_id\`) VALUES (?, ?, ?, ?) - ON DUPLICATE KEY UPDATE updated_at = updated_at;` + ON DUPLICATE KEY UPDATE \`updated_at\` = VALUES(\`updated_at\`)` // To handle multiple files upsert for (const record of recordsToUpsert) {