misc/migration/3.8.3_Any.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 13 Jun 2013 15:12:06 +0200
changeset 9020 cb87e831c183
parent 5589 25bf54dab82b
permissions -rw-r--r--
rename server.session.transaction into server.session.connection The ongoing rework of the API to access the database include the splitting of Session in two objects: The ``Session`` object will only hold credential (user) and global session data. A new object will publicly emerge to handle a database access. This object is named ``Connection`` since that the way database accessors with the same property are named in other system. So we renamed the ``Transaction`` object into ``Connection``. The ``Transaction`` object have already grown in the direction of something directly usable by generic code, but the name ``Transaction`` is ill suited as such object can be used for multiple database transaction in a row. Related to #2503918
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5589
25bf54dab82b [migration] force 3.8.3 migration, and fix it (same_as not necessarily there, missing group change for max-post-length)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5577
diff changeset
     1
if 'same_as' in schema:
25bf54dab82b [migration] force 3.8.3 migration, and fix it (same_as not necessarily there, missing group change for max-post-length)
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents: 5577
diff changeset
     2
    sync_schema_props_perms('same_as', syncperms=False)
5577
4e3ca117c275 [schema] fix same_as cardinality and bump Bookmark.path max length to approximative max url size
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
sync_schema_props_perms('Bookmark', syncperms=False)