misc/migration/3.17.11_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 30 Jan 2015 15:28:24 +0100
changeset 10189 0b141ffcdd74
parent 9463 d62e13eba033
permissions -rw-r--r--
[dataimport] massive renaming of session to cnx and make NoHookObjectStore working with the new connection handling. Closes #4891547

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