misc/migration/3.9.5_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 16 May 2011 16:25:33 +0200
branchstable
changeset 7389 c2b29631c1a3
parent 6105 a648c832da1f
permissions -rw-r--r--
backport oldstable

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