Skip to content

Commit aded59c

Browse files
author
Aranyajit
committed
surround string with quotes
1 parent 5e0237b commit aded59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/process-remaining-ubahn-uuids.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const processRemainingUUIDs = async (tableName, columnNames) => {
4141
let sql = ''
4242
for (const [key, value] of Object.entries(uuidToHandleMap)) {
4343
if (!_.isUndefined(handleToIDMap[value.toLowerCase()])) {
44-
sql += `UPDATE bookings.${tableName} SET ${columnName} = ${handleToIDMap[value.toLowerCase()]} WHERE ${columnName} = ${key};`
44+
sql += `UPDATE bookings.${tableName} SET ${columnName} = '${handleToIDMap[value.toLowerCase()]}' WHERE ${columnName} = '${key}';`
4545
}
4646
}
4747
console.log(`UPDATE statements: ${sql}`)

0 commit comments

Comments
 (0)