cubicweb/misc/migration/3.17.11_Any.py
author Laurent Peuch <cortex@worlddomination.be>
Thu, 19 Dec 2019 08:13:52 +0100
changeset 12826 c13c0188f8a3
parent 11057 0b59724cb3f2
permissions -rw-r--r--
autopep8

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