/**
 * @param array
 * @return array|false
 */
function addFriend($props)
{
    $r = new Relationship($props);
    // $props = ['u_id1' => %num%, 'u_id2' => %num%, 'r_status' => %string%]
    $r->save();
    return $r->getProps(TRUE);
}