misc/migration/3.9.5_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 29 Aug 2013 12:55:27 +0200
branchstable
changeset 9227 762a331db741
parent 6105 a648c832da1f
permissions -rw-r--r--
[schema] fix spurious warning when rqlexpr/constraint mainvars specify a non predefined variable. Closes #3098165

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