author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Tue, 13 May 2014 18:47:52 +0200 | |
branch | stable |
changeset 9734 | f61bb1a033e4 |
parent 9336 | 722635e530a0 |
child 9463 | d62e13eba033 |
permissions | -rw-r--r-- |
9336
722635e530a0
[server] Add missing indices for undo support (closes #3259691)
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff
changeset
|
1 |
for table, column in [ |
722635e530a0
[server] Add missing indices for undo support (closes #3259691)
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff
changeset
|
2 |
('transactions', 'tx_time'), |
722635e530a0
[server] Add missing indices for undo support (closes #3259691)
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff
changeset
|
3 |
('tx_entity_actions', 'tx_uuid'), |
722635e530a0
[server] Add missing indices for undo support (closes #3259691)
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff
changeset
|
4 |
('tx_relation_actions', 'tx_uuid')]: |
722635e530a0
[server] Add missing indices for undo support (closes #3259691)
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff
changeset
|
5 |
session.cnxset.source('system').create_index(session, table, column) |
722635e530a0
[server] Add missing indices for undo support (closes #3259691)
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff
changeset
|
6 |
|
722635e530a0
[server] Add missing indices for undo support (closes #3259691)
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff
changeset
|
7 |
commit() |