misc/migration/3.9.5_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 25 Apr 2013 16:55:12 +0200
changeset 8936 010adc548b97
parent 6105 a648c832da1f
permissions -rw-r--r--
[form] remove hard coded id html id should be unique. It is clearly not achieved here.

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