Rules when Using Indices
- The relationship must be given a name. This is the name which will be given to the database index. (The name of the struct in the relationship does not have any effect on the index.)
- The names of the attributes of the struct class must be a subset of the names of the attributes of the entity.
- The struct class must not aggregate any other classes.
- Index names must be unique within the entire model.