misc/migration/3.17.11_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 08 Sep 2015 13:43:57 +0200
changeset 10652 e3e4a8c45695
parent 9463 d62e13eba033
permissions -rw-r--r--
[server/rql2sql] use VariableRef.is_equivalent explicitly instead of relying on __eq__ What we want to compare is the variable referenced by the VariableRef, we should make that explicit. Closes #6694406

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