misc/migration/3.9.5_Any.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Fri, 22 Apr 2011 12:17:51 +0200
changeset 7246 ecae5b526437
parent 6105 a648c832da1f
permissions -rw-r--r--
Backed out changeset 7a58581d842c This changeset breaks a number of CW tests, which depends on pre add hooks. I'm backing it out, so that we can start the need-for-speed sprint with green tests (and possibly rework this changeset)

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