misc/migration/3.9.5_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 10 Nov 2011 10:12:37 +0100
changeset 8079 0f1126b9038e
parent 6105 a648c832da1f
permissions -rw-r--r--
[3.14 migration] strip constraint value to avoid extra new lines

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