misc/migration/3.17.11_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Mon, 18 May 2015 19:47:34 +0200
changeset 10445 f1773842077d
parent 9463 d62e13eba033
permissions -rw-r--r--
[hooks/syncschema] drop/add check constraints as appropriate Related to #5154406

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