misc/migration/3.17.11_Any.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 08 Dec 2015 10:24:44 +0100
changeset 10952 4f28cb25b6c1
parent 9463 d62e13eba033
permissions -rw-r--r--
[rest] avoid field on two lines if name is above some size limit. Closes #8961835

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