cubicweb/misc/migration/3.9.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 08 Feb 2016 15:28:14 +0100
changeset 11155 3bc47295c262
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[web/test] json.loads expects text, not bytes

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