schema tool relationship check