cubicweb/misc/migration/3.9.5_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Wed, 16 Jul 2014 15:30:16 +0200
changeset 11199 2fe2077cc92d
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[session,repo] remove last trace of "cnxprops" Related to #1381328.

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