Skip to content

Commit

Permalink
fix: delete comment thread by projectId in permanentlyDeleteProject
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 2a7423a24824b98da68a8d8fa0c48f676cddb6b7
  • Loading branch information
abbas-nazar authored and actions-user committed Jan 31, 2025
1 parent 321b307 commit c9cfe61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/wab/src/wab/server/db/DbMgr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10115,8 +10115,8 @@ export class DbMgr implements MigrationDbMgr {
await this.projectSyncMetadata().delete({ projectId: id });
await this.copilotInteractions().delete({ projectId: id });

// comment reactions deleted by cascade
await this.comments().delete({ projectId: id });
// comments, comment reactions, history deleted by cascade
await this.commentThreads().delete({ projectId: id });

await this.appAuthConfigs().delete({ projectId: id });
await this.appEndUserAccess().delete({ projectId: id });
Expand Down

0 comments on commit c9cfe61

Please sign in to comment.