addes belongs_to_and_has_many relationship, pre-migration