misc/migration/3.15.9_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 16 Jan 2015 14:30:55 +0100
changeset 10203 1443fe643a38
parent 8722 407acc41beb5
permissions -rw-r--r--
[server] change order of entities table modification vs entity creation/deletion In order to have a foreign key referencing the entities table, the insertion into entities must happen first, and the deletion must happen last. For the deletion case, this means we need to: 1. delete all relations (cascade) 2. delete the entities themselves 3. delete the corresponding lines from the entities table This means the _delete_info{,_multi} methods can't keep doing 1 and 3. Thankfully the "public" delete_info method appears to be unused, so drop it. Related to #4846892.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8722
407acc41beb5 [schema/workflow] one more typo fix
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     1
sync_schema_props_perms(('State', 'state_of', 'Workflow'), commit=False)
407acc41beb5 [schema/workflow] one more typo fix
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff changeset
     2
sync_schema_props_perms(('State', 'name', 'String'))