misc/migration/3.9.5_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Tue, 25 Jun 2013 10:45:44 +0200
changeset 9067 262d7874c6c7
parent 6105 a648c832da1f
permissions -rw-r--r--
[dbapi] explicitly use the DBAPI version of CubicwebRequestBase As we plan to use a ConnectionCubicwebRequestBase by default we better have the dbapi explicitly asking for a DBAPI implementation.
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)