misc/migration/3.17.11_Any.py
author Julien Cristau <julien.cristau@logilab.fr>
Tue, 08 Jul 2014 11:33:32 +0200
changeset 9919 e013c35067d7
parent 9463 d62e13eba033
permissions -rw-r--r--
[etwist] use more specific REQUEST_ENTITY_TOO_LARGE instead of BAD_REQUEST When a request body exceeds the configured limit, return 413 to the client instead of a generic 400.

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