misc/migration/3.17.11_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 17 Mar 2015 15:55:52 +0100
changeset 10339 5dc6dc2c0de9
parent 9463 d62e13eba033
permissions -rw-r--r--
[dbapi] retire repo.commit/rollback which was used by the dbapi Related to #3933480.

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