mirror of
https://github.com/certd/certd.git
synced 2026-05-18 06:17:31 +08:00
perf: 优化pipeline删除时,删除其他history
This commit is contained in:
@@ -31,4 +31,8 @@ export class HistoryLogService extends BaseService<HistoryLogEntity> {
|
||||
}
|
||||
await this.repository.delete({ historyId: In(numbers) });
|
||||
}
|
||||
|
||||
async deleteByPipelineId(id: number) {
|
||||
await this.repository.delete({ pipelineId: id });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user