Skip to content

Commit 37908b4

Browse files
Andrew Farriesroboquat
Andrew Farries
authored andcommitted
Add comment to entity
1 parent baea972 commit 37908b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/gitpod-db/src/typeorm/entity/db-volume-snapshot.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { Transformer } from "../transformer";
1313
@Entity()
1414
@Index("ind_dbsync", ["creationTime"]) // DBSync
1515
@Index("ind_workspaceId_creationTime", ["workspaceId", "creationTime"]) // findVolumeSnapshotForGCByWorkspaceId
16+
// on DB but not Typeorm: @Index("ind_lastModified", ["_lastModified"]) // DBSync
1617
export class DBVolumeSnapshot implements VolumeSnapshot {
1718
@PrimaryColumn(TypeORM.WORKSPACE_ID_COLUMN_TYPE)
1819
id: string;

0 commit comments

Comments
 (0)