misc/migration/3.9.5_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Wed, 27 Mar 2013 14:05:14 +0100
changeset 8813 cf94a7f980fe
parent 6105 a648c832da1f
permissions -rw-r--r--
[session] drop the useless set_hooks_mode method It has not external user and trivial code

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