[iot-manager] Missing TTL index on log.expire_ts

Description

There should be a mechanism to remove expired logs from the database. The field expire_ts is present but is not used.

Acceptance criteria:

  • Create a migration which introduce a TTL index on the expire_ts field in the log collection.

Affects versions

None

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Labels

Story Points

Remaining Story Points

Priority

Days in progress

Fix versions

Sprint

Backlog

Zendesk Support

Checklist

Created March 12, 2024 at 3:58 PM
Updated April 29, 2024 at 1:21 PM
Resolved April 5, 2024 at 10:49 AM