misc/migration/3.5.3_Any.py
branchstable
changeset 3611 8d7d4a67820f
parent 3528 77a69de16709
child 3612 0605d8755613
equal deleted inserted replaced
3610:312349b3712e 3611:8d7d4a67820f
     1 sync_schema_props_perms('state_of')
     1 sync_schema_props_perms('state_of')
     2 sync_schema_props_perms('transition_of')
     2 sync_schema_props_perms('transition_of')
     3 
     3 
     4 add_attribute('BaseTransition', 'type')
     4 # type attribute might already be there if migrating from
       
     5 # version < 3.5 to version >= 3.5.3, BaseTransition being added
       
     6 # in bootstrap_migration
       
     7 if not schema.eschema('BaseTransition').has_subject_relation('type'):
       
     8     add_attribute('BaseTransition', 'type')