Delete cache version on reset db (#6426)

As title
This commit is contained in:
Thomas Trompette
2024-07-27 11:54:03 +02:00
committed by GitHub
parent 5a1835e9e0
commit 368f142f3a
2 changed files with 7 additions and 0 deletions

View File

@ -35,4 +35,8 @@ export class WorkspaceCacheVersionService {
return workspaceCacheVersion?.version ?? null;
}
async deleteVersion(workspaceId: string): Promise<void> {
await this.workspaceCacheVersionRepository.delete({ workspaceId });
}
}