fixing link db table schema.
traversing: do not consider self to be ancestor or descendant.