lazyBoy/migrations/037_file_history_poll_order...

5 lines
257 B
MySQL
Raw Normal View History

2026-09-11 02:47:43 +00:00
-- Polling now rotates across current and historical provider/generation
-- scopes within one Computer, rather than filtering to one generation.
CREATE INDEX computer_file_poll_history_order
ON computer_file_poll_scopes(computer_id,last_polled,bot_id);