I have made an organisation / individual relationship type as an a_b
relationship while it should be a b_a
relationship to be consistent with the existing relationships like employer of which always have a as individual (child) and b as organisation (parent).
There are allready a lot of contacts that have this relationship in the database.
I tried to change the direction of the relationship type at civicrm/admin/reltype?action=update&id=12&reset=1
and then swap the data of the contact_id_a
and contact_id_b
columns in the database for that relation type id.
So what is the best way to change the direction (swap individual/organisation) of a relationship?
And what else has an influence on this except for the database tables of civicrm_relationship
and civicrm_relationship_type
?