cubicweb/misc/migration/3.17.11_Any.py
changeset 11057 0b59724cb3f2
parent 9463 d62e13eba033
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cubicweb/misc/migration/3.17.11_Any.py	Sat Jan 16 13:48:51 2016 +0100
@@ -0,0 +1,7 @@
+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()