create-relation integrity check