fix(ScriptDrivedDeployer): avoid nested transactions

This commit is contained in:
Nybkox
2025-03-13 09:44:21 +01:00
parent 6e4d16749b
commit dfe4d2811a

View File

@@ -128,7 +128,7 @@ export class ScriptDrivedDeployer {
logger.debug(`Running ${category} script ${file.name}`);
try {
await this.driver.script(this.dbhan, file.text);
await this.driver.script(this.dbhan, file.text, { useTransaction: false });
await this.saveToJournal(file, category, hash);
} catch (err) {
logger.error(extractErrorLogData(err), `Error running ${category} script ${file.name}`);