private function create($id1, $id2, $type)
 {
     $rel = new Relation();
     $rel->id1 = $id1;
     $rel->id2 = $id2;
     $rel->type = $type;
     $rel->save();
     $rel->reset();
 }