Make sure that the relationship table columns have a fixed order