/**
  * @param PostRevision $rev
  * @return string[]
  */
 public static function toStorageRow($rev)
 {
     return parent::toStorageRow($rev) + array('tree_parent_id' => $rev->replyToId ? $rev->replyToId->getAlphadecimal() : null, 'tree_rev_descendant_id' => $rev->postId->getAlphadecimal(), 'tree_rev_id' => $rev->revId->getAlphadecimal(), 'tree_orig_user_id' => $rev->origUser->id, 'tree_orig_user_ip' => $rev->origUser->ip, 'tree_orig_user_wiki' => $rev->origUser->wiki);
 }