misc/migration/3.9.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 01 Apr 2014 15:53:21 +0200
changeset 9609 e7d38148799e
parent 6105 a648c832da1f
permissions -rw-r--r--
[repository] operations get a connection instead of a session Left extid2eid unchanged because that function scares the shit out of me.

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