misc/migration/3.9.5_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 07 Apr 2014 14:15:35 +0200
changeset 9632 c60c8dec0e0e
parent 6105 a648c832da1f
permissions -rw-r--r--
[hooks/notification] Fix indentation Follow-up for changeset 1b8552265f3b "[hooks/notification] use a cnx not a session"

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