misc/migration/3.10.0_common.py
author |
Julien Cristau <julien.cristau@logilab.fr> |
|
Fri, 16 Jan 2015 14:30:55 +0100 |
changeset 10203 |
1443fe643a38 |
parent 6012 |
d56fd78006cd
|
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.
6012
d56fd78006cd
[session] cleanup session-time / cleanup-session-time...
Sylvain Thénault <sylvain.thenault@logilab.fr>
parents:
diff
changeset
|
1 |
option_group_changed('cleanup-session-time', 'web', 'main') |