Skip to content

Commit

Permalink
BC-7306 add index to deletionrequests.updatedAt
Browse files Browse the repository at this point in the history
  • Loading branch information
Loki-Afro committed May 10, 2024
1 parent b7afc81 commit 51b46f3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export interface DeletionRequestEntityProps {
@Entity({ tableName: 'deletionrequests' })
@Unique({ properties: ['targetRefId', 'targetRefDomain'] })
@Index({ properties: ['createdAt'] })
@Index({ properties: ['updatedAt'] })
export class DeletionRequestEntity extends BaseEntityWithTimestamps {
@Property()
@Index({ options: { expireAfterSeconds: SECONDS_OF_90_DAYS } })
Expand Down

0 comments on commit 51b46f3

Please sign in to comment.