possible fix for #2416 by dropping indexes from the creation of many-to-many relation tables