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) {