Commit 6f19e6e6 authored by Guillaume Lebigot's avatar Guillaume Lebigot

Replaced run() with exec() for multiple SQL queries in integrity checks

parent e75dd12c
......@@ -559,7 +559,7 @@ export async function checkUserdbIntegrity(uuid, config) {
if (sql) {
logger.debug('[Gen] UPDATE SQL : ' + sql);
await userdb.run(sql);
await userdb.exec(sql);
}
const sqlUpdateDBUUID = await asyncReadFile(resolve(__dirname, '../_common/db/update_userdb_uuid.sql'), 'utf-8');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment