misc/migration/3.17.11_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Thu, 10 Apr 2014 15:03:01 +0200
changeset 9680 8fb8f001f4e2
parent 9463 d62e13eba033
permissions -rw-r--r--
[hooks] run cascading delete hook later Applications may have their own before_delete_entity hooks that rely on the composite relations still existing.

for table, column in [
        ('transactions', 'tx_time'),
        ('tx_entity_actions', 'tx_uuid'),
        ('tx_relation_actions', 'tx_uuid')]:
    repo.system_source.create_index(session, table, column)

commit()