foreignkeys in entity_tree_stub