author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Mon, 04 Nov 2013 16:06:06 +0100 | |
changeset 9378 | 4a668dcfa0a0 |
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() |