misc/migration/3.5.10_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 27 Oct 2011 10:38:02 +0200
changeset 8027 9ac82788f67b
parent 3977 5c84c6df6798
child 8798 cdab3aadc679
permissions -rw-r--r--
[schema, old instance] restore some pre 3.5.10 bw compat as some old instances may still have this, and add migration so we can remove it at some point

sync_schema_props_perms('state_of')
sync_schema_props_perms('transition_of')
for etype in ('State', 'BaseTransition', 'Transition', 'WorkflowTransition'):
    sync_schema_props_perms((etype, 'name', 'String'))