misc/migration/3.9.5_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 25 Mar 2011 15:45:38 +0100
branchstable
changeset 7112 bb27cc300040
parent 6105 a648c832da1f
permissions -rw-r--r--
[db connection] fix db connections method: verbose should be named interactive, it's not a question of verbosity but wether question should be asked or not

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