Commit 02587c60 authored by Vincent Pelletier's avatar Vincent Pelletier

erp5_accounting: Include mirror_section_uid in section_uid index.

Accelerates (at least) Person's jump_to_accounting action.
parent 710c1859
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
`total_credit` real,\n `total_credit` real,\n
\n \n
PRIMARY KEY (`uid`, `order_id`),\n PRIMARY KEY (`uid`, `order_id`),\n
KEY `section_uid` (`section_uid`)\n KEY (`section_uid`, `mirror_section_uid`)\n
-- TODO: keys\n -- TODO: keys\n
) ENGINE=InnoDB\n ) ENGINE=InnoDB\n
</string> </value> </string> </value>
......
1567 1568
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment