Modified BaseTrait so that relationName and tableName don't have to be necessarily the same.
For example, you may want to have a Group to User (many to many) association but also have a
Group to User (many to one) relationship to represent group ownership.
Modified BaseTrait so that relationName and tableName don't have to be necessarily the same.
For example, you may want to have a Group to User (many to many) association but also have a Group to User (many to one) relationship to represent group ownership.