Add reference from etype table's eid column to the entities table
Related to #4846892.
ifnotrql('CWConstraintType X WHERE X name "RQLUniqueConstraint"',ask_confirm=False):rql('INSERT CWConstraintType X: X name "RQLUniqueConstraint"',ask_confirm=False)