Added dbversions to relationship model