misc/migration/3.5.3_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 03 Aug 2012 13:29:37 +0200
changeset 8525 c09feae04094
parent 3666 7d0f6234b001
child 8798 cdab3aadc679
permissions -rw-r--r--
[entity edition] don't remove values from attribute cache on the repository side This follows changesets 552de9f0c46d, 1527b012802f, 25da1e5c7c50 and 4ba11607d84a. closes #2423719 ?

# type attribute might already be there if migrating from
# version < 3.5 to version >= 3.5.3, BaseTransition being added
# in bootstrap_migration
if versions_map['cubicweb'][0] >= (3, 5, 0):
    add_attribute('BaseTransition', 'type')
    sync_schema_props_perms('state_of')
    sync_schema_props_perms('transition_of')