Alerting: Add migration to clean up rule versions table (#102484) * add migration to clean up rule versions * drop index right before creating a new one. * fetch only rules which version greater than toKeep (cherry picked from commit 24ebacb10b)
24ebacb10b
contents