misc/migration/3.5.10_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 18 May 2010 18:15:42 +0200
branchstable
changeset 5543 2b962bb9eee8
parent 3977 5c84c6df6798
child 8798 cdab3aadc679
permissions -rw-r--r--
Added tag cubicweb-version-3.8.2 for changeset ef2e37d34013
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3977
5c84c6df6798 synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     1
sync_schema_props_perms('state_of')
5c84c6df6798 synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     2
sync_schema_props_perms('transition_of')
5c84c6df6798 synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     3
for etype in ('State', 'BaseTransition', 'Transition', 'WorkflowTransition'):
5c84c6df6798 synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     4
    sync_schema_props_perms((etype, 'name', 'String'))
5c84c6df6798 synchronize rdef where unique constraints have been updated/added
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff changeset
     5