misc/migration/3.5.3_Any.py
changeset 8798 cdab3aadc679
parent 3666 7d0f6234b001
equal deleted inserted replaced
8797:f0535129def6 8798:cdab3aadc679
     1 # type attribute might already be there if migrating from
     1 raise NotImplementedError("Cannot migrate such an old version. Use intermediate Cubiweb version (try 3.16.x)")
     2 # version < 3.5 to version >= 3.5.3, BaseTransition being added
       
     3 # in bootstrap_migration
       
     4 if versions_map['cubicweb'][0] >= (3, 5, 0):
       
     5     add_attribute('BaseTransition', 'type')
       
     6     sync_schema_props_perms('state_of')
       
     7     sync_schema_props_perms('transition_of')