misc/migration/3.9.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 16 Jan 2015 14:12:49 +0100
changeset 10210 633d85ba9f72
parent 6105 a648c832da1f
permissions -rw-r--r--
[undo/test] check that the entity was restored even though the fiche relation wasn't

if not rql('CWConstraintType X WHERE X name "RQLUniqueConstraint"',
           ask_confirm=False):
    rql('INSERT CWConstraintType X: X name "RQLUniqueConstraint"',
        ask_confirm=False)