Index and the migration generators should be fixed.