10001e4e8d
Added a new task to test if indexes are coherent with a blank database This allows us to detect for cases where somehow indexes are out of sync FIX_INDEXES=1 or `rake db:validate_indexes[fix]` to correct the issues it finds. Detects: - Badly named indexes that need to be renamed - Missing indexes - Extra indexes Can correct all 3 with the fix option