cubicweb/misc/migration/3.17.11_Any.py
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 28 Nov 2019 11:48:03 +0100
changeset 12779 44147dab9d27
parent 11057 0b59724cb3f2
permissions -rw-r--r--
Use python3 shebang for scripts Reported by lintian "python-script-but-no-python-dep"

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