misc/migration/3.9.5_Any.py
author Florent Cayré <florent.cayre@logilab.fr>
Wed, 12 Mar 2014 14:08:51 +0100
branchstable
changeset 9566 cc7e0f4eb10f
parent 6105 a648c832da1f
permissions -rw-r--r--
Added tag cubicweb-centos-version-3.17.14-1, cubicweb-version-3.17.14, cubicweb-debian-version-3.17.14-1 for changeset fa00fc251d57

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