Join GitHub today
Add SQL index to states.event_id #12825
MySQL users will have this index already, automatically added due to the foreign key. However, because we did not actually write
This index should also make it possible to return and even improve the optimization in #12608.
Related issue (if applicable): fixes #12797
If the code does not interact with devices: