misc/migration/3.9.5_Any.py
author Florent Cayre <florent.cayre@logilab.fr>
Mon, 15 Jul 2013 17:34:54 +0200
branchstable
changeset 9156 3125d8a13b03
parent 6105 a648c832da1f
permissions -rw-r--r--
Added tag cubicweb-centos-version-3.16.6-1, cubicweb-debian-version-3.16.6-1, cubicweb-version-3.16.6 for changeset b4ccaf13081d

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