Skip to content

Commit

Permalink
[db] Sync and GC d_b_team_membership_invite
Browse files Browse the repository at this point in the history
  • Loading branch information
jankeromnes authored and roboquat committed Oct 1, 2021
1 parent 249c1ec commit aba5c6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/gitpod-db/src/tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ export class GitpodTableDescriptionProvider implements TableDescriptionProvider
deletionColumn: 'deleted',
timeColumn: '_lastModified',
},
{
name: 'd_b_team_membership_invite',
primaryKeys: ['id'],
deletionColumn: 'deleted',
timeColumn: '_lastModified',
},
{
name: 'd_b_project',
primaryKeys: ['id'],
Expand Down
1 change: 1 addition & 0 deletions components/gitpod-db/src/typeorm/deleted-entry-gc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ const tables: TableWithDeletion[] = [
{ deletionColumn: "deleted", name: "d_b_code_sync_resource" },
{ deletionColumn: "deleted", name: "d_b_team" },
{ deletionColumn: "deleted", name: "d_b_team_membership" },
{ deletionColumn: "deleted", name: "d_b_team_membership_invite" },
{ deletionColumn: "deleted", name: "d_b_project" },
{ deletionColumn: "deleted", name: "d_b_prebuild_info" },
];
Expand Down

0 comments on commit aba5c6c

Please sign in to comment.