author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Sun, 16 Jun 2013 23:36:06 +0200 | |
changeset 9446 | 18a186b02970 |
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() |