misc/migration/3.9.5_Any.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Thu, 16 Sep 2010 11:52:10 +0200
branchstable
changeset 6260 e06750b556ad
parent 6105 a648c832da1f
permissions -rw-r--r--
raise ProcessFormError when a problem occurs during date / time parsing

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