misc/migration/3.17.11_Any.py
author Aurelien Campeas <aurelien.campeas@logilab.fr>
Tue, 21 Jan 2014 10:20:49 +0100
changeset 9420 3809e93c33b8
parent 9336 722635e530a0
child 9463 d62e13eba033
permissions -rw-r--r--
[schema] execute the new stored procs/funcs at migration time (closes #3450368)

for table, column in [
        ('transactions', 'tx_time'),
        ('tx_entity_actions', 'tx_uuid'),
        ('tx_relation_actions', 'tx_uuid')]:
    session.cnxset.source('system').create_index(session, table, column)

commit()