misc/migration/3.9.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 24 Apr 2014 17:52:20 +0200
changeset 9706 f24c30a19898
parent 6105 a648c832da1f
permissions -rw-r--r--
[debian] add Breaks on cubicweb-bootstrap Need to be versioned once we know which version fixes https://www.cubicweb.org/ticket/3728939

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