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:
Cornelius Suermann 2023-01-18 15:42:09 +01:00 committed by GitHub
parent 8dbe6159d0
commit e36112a6d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,7 +11,7 @@ export class DeleteExecutionsWithWorkflows1673268682475 implements MigrationInte
await queryRunner.query(`ALTER TABLE \`${tablePrefix}execution_entity\` MODIFY workflowId INT`);
const workflowIds: Array<{ id: number }> = await queryRunner.query(`
SELECT id FROM \`${tablePrefix}execution_entity\`
SELECT id FROM \`${tablePrefix}workflow_entity\`
`);
await queryRunner.query(