misc/migration/3.17.11_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Wed, 15 Jan 2014 18:19:52 +0100
changeset 9409 2f684e538174
parent 9336 722635e530a0
child 9463 d62e13eba033
permissions -rw-r--r--
[migration/3.18] Idempotency fixes Try to make partially-upgraded instances migrate properly.

for table, column in [
        ('transactions', 'tx_time'),
        ('tx_entity_actions', 'tx_uuid'),
        ('tx_relation_actions', 'tx_uuid')]:
    session.cnxset.source('system').create_index(session, table, column)

commit()