@ -133,7 +133,8 @@ export class OldDBTasksCommentsService {
private async getNewEntitiesIds(type: OldDbRelationType) {
const relations = await this.oldDbRelationsRepository.find({
type,
where: {type},
limit: 100
})
return relations.map(it => it.newId)