fix(core): Fix migration (no-changelog) (#5186)
* fix(core): Fix migration (no-changelog) * revert previous fix and apply correct one
This commit is contained in:
committed by
GitHub
parent
8dbe6159d0
commit
e36112a6d4
@@ -11,7 +11,7 @@ export class DeleteExecutionsWithWorkflows1673268682475 implements MigrationInte
|
|||||||
await queryRunner.query(`ALTER TABLE \`${tablePrefix}execution_entity\` MODIFY workflowId INT`);
|
await queryRunner.query(`ALTER TABLE \`${tablePrefix}execution_entity\` MODIFY workflowId INT`);
|
||||||
|
|
||||||
const workflowIds: Array<{ id: number }> = await queryRunner.query(`
|
const workflowIds: Array<{ id: number }> = await queryRunner.query(`
|
||||||
SELECT id FROM \`${tablePrefix}execution_entity\`
|
SELECT id FROM \`${tablePrefix}workflow_entity\`
|
||||||
`);
|
`);
|
||||||
|
|
||||||
await queryRunner.query(
|
await queryRunner.query(
|
||||||
|
|||||||
Reference in New Issue
Block a user