Fixed etugenerator foreign key indexes