misc/migration/3.9.5_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 12 Mar 2013 12:04:51 +0100
changeset 8724 1beab80aed23
parent 6105 a648c832da1f
permissions -rw-r--r--
Merge stable into default (NON-TRIVIAL) - dropping __future__ statement added by d2472948da9c - added migration from 407acc41beb5 to migration file for 3.16.1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6105
a648c832da1f RQLUniqueConstraint not in CWConstraintType for some old instances
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
if not rql('CWConstraintType X WHERE X name "RQLUniqueConstraint"',
a648c832da1f RQLUniqueConstraint not in CWConstraintType for some old instances
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
           ask_confirm=False):
a648c832da1f RQLUniqueConstraint not in CWConstraintType for some old instances
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
    rql('INSERT CWConstraintType X: X name "RQLUniqueConstraint"',
a648c832da1f RQLUniqueConstraint not in CWConstraintType for some old instances
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     4
        ask_confirm=False)