misc/migration/3.9.5_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 07 Mar 2011 23:16:22 +0100
changeset 7049 f2ae6202754c
parent 6105 a648c832da1f
permissions -rw-r--r--
[source host alias] match_host is the attribute, match is the method

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