misc/migration/3.5.10_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 12 Jul 2011 11:27:43 +0200
changeset 7651 7c0af7ef3325
parent 3977 5c84c6df6798
child 8798 cdab3aadc679
permissions -rw-r--r--
[repo, ms] fix planning of some queries where variable 'non-invarianess' should be considered, leading for instance to junk in entities table on source deletion
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