synchronize rdef where unique constraints have been updated/added stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 02 Dec 2009 18:36:16 +0100
branchstable
changeset 3977 5c84c6df6798
parent 3976 d18b80fe6c82
child 3978 2c95e3033f64
synchronize rdef where unique constraints have been updated/added
misc/migration/3.5.10_Any.py
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/migration/3.5.10_Any.py	Wed Dec 02 18:36:16 2009 +0100
@@ -0,0 +1,5 @@
+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'))
+