misc/migration/3.9.5_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 14 Dec 2010 10:39:20 +0100
branchstable
changeset 6744 db1e9e733a16
parent 6105 a648c832da1f
permissions -rw-r--r--
[doc/book] mention that the shell is a python shell

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