add model relations to model and migration