misc/migration/3.9.5_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 14 Feb 2012 15:14:40 +0100
branchstable
changeset 8232 8c29253105ba
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)