code: def register_transfer(self, relation, old_id, new_id):
      
      transfer = Transfer(relation_id=relation.id, old_id=old_id, new_id=new_id)
      self.data_access.insert_model(transfer)
      return transfer
docs: Register the old and new ids for a particular record in a relation.