misc/migration/3.9.5_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 17 Mar 2015 15:55:52 +0100
changeset 10339 5dc6dc2c0de9
parent 6105 a648c832da1f
permissions -rw-r--r--
[dbapi] retire repo.commit/rollback which was used by the dbapi Related to #3933480.

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