misc/migration/3.17.11_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 03 Jun 2014 18:03:43 +0200
changeset 10086 98bc2ca1a816
parent 9463 d62e13eba033
permissions -rw-r--r--
[source/native] session -> cnx Also swap process_results arguments order to make cnx come earlier.

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()