misc/migration/3.9.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 04 Nov 2015 09:09:08 +0100
changeset 10867 ca73ee6d24ad
parent 6105 a648c832da1f
permissions -rw-r--r--
[dataimport] remove deprecated methods from massive store This code is new in cubicweb, no reason for it to carry deprecated stuff from the start.

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