[autoform] fix restoration of pending generic relation: inconsistent id was generated (eg different from the one generated by javascript
ifnotrql('CWConstraintType X WHERE X name "RQLUniqueConstraint"',ask_confirm=False):rql('INSERT CWConstraintType X: X name "RQLUniqueConstraint"',ask_confirm=False)