Add index on historical_data.recorded_at
historical_data.recorded_at
(added in !45893 (merged)) is used to order and filter queries, but it currently does not have an index. Though the table won't be too big, it would be still beneficial since adding one can avoid table scan.
Availability & Testing
This change should also include at the minimum, a change to the existing Model spec to account for this new column.
Edited by Dan Davison