misc/migration/3.5.10_Any.py
author Nicolas Chauvat <nicolas.chauvat@logilab.fr>
Mon, 11 Apr 2011 22:28:56 +0200
changeset 7208 6d418fb3ffed
parent 3977 5c84c6df6798
child 8798 cdab3aadc679
permissions -rw-r--r--
Added tag cubicweb-version-3.12.2 for changeset 5a9b6bc56538
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