misc/migration/3.9.5_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 29 Jun 2011 16:13:09 +0200
changeset 7575 335f14e8e5a7
parent 6105 a648c832da1f
permissions -rw-r--r--
[uilib] new js_dumps function allowing usage of bare js string (wrapped into JSString) modify magic 'js' object to consider them as well

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