misc/migration/3.9.5_Any.py
author Rémi Cardona <remi.cardona@logilab.fr>
Thu, 25 Sep 2014 17:38:51 +0200
changeset 9991 3e7f1e9f3adc
parent 6105 a648c832da1f
permissions -rw-r--r--
[devtools] allow cross-origin requests for qunit We have a mix of file:// html and http:// ajax calls. Which we should at some point fix to all be http, but. Related to #4294727.

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