misc/migration/3.9.5_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 25 Jun 2013 17:42:12 +0200
changeset 9088 04ceb4268b3b
parent 6105 a648c832da1f
permissions -rw-r--r--
[connection] Connection now call _set_user to CWUser object linked to itseld Session.user is linked to the session.

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