fix(core): Fix named parameter resolution in migrations (#7688)

Fixes #7628
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-11-15 10:31:08 +01:00
committed by GitHub
parent 91c3ea87fe
commit 4441ed5116
7 changed files with 37 additions and 56 deletions

View File

@@ -47,11 +47,10 @@ export class PurgeInvalidWorkflowConnections1675940580449 implements Irreversibl
});
// Update database with new connections
return runQuery(
`UPDATE ${workflowsTable} SET connections = :connections WHERE id = :id`,
{ connections: JSON.stringify(connections) },
{ id: workflow.id },
);
return runQuery(`UPDATE ${workflowsTable} SET connections = :connections WHERE id = :id`, {
connections: JSON.stringify(connections),
id: workflow.id,
});
}),
);
}