misc/migration/3.17.11_Any.py
author Katia Saurfelt <katia.saurfelt@logilab.fr>
Mon, 28 Apr 2014 18:11:21 +0200
changeset 9712 6c6cd8c4b256
parent 9463 d62e13eba033
permissions -rw-r--r--
[entity] add a new `cw_linkable_rql` method * the new method returns the entities that are or may be related to the current one by the relation passed as an argument. Closes #3738011.

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