changes _constraintRelations history to use view cid instead of names