author | Sylvain Thénault <sylvain.thenault@logilab.fr> |
Tue, 21 Jan 2014 17:34:31 +0100 | |
changeset 9445 | 65d93a4fd11c |
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() |