Commit bde2a1cd authored by Vincent Pelletier's avatar Vincent Pelletier

Add an index on date column of stock table.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16114 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 239abf5b
......@@ -125,7 +125,8 @@ CREATE TABLE `stock` (\n
KEY `resource_uid` (`resource_uid`),\n
KEY `simulation_state` (`simulation_state`),\n
KEY `resource_node_uid` (`resource_uid`, `node_uid`),\n
KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`)\n
KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`),\n
KEY `date` (`date`)\n
) TYPE = InnoDB;\n
</string> </value>
</item>
......@@ -195,7 +196,8 @@ CREATE TABLE `stock` (\n
KEY `resource_uid` (`resource_uid`),\n
KEY `simulation_state` (`simulation_state`),\n
KEY `resource_node_uid` (`resource_uid`, `node_uid`),\n
KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`)\n
KEY `resource_section_node_uid` (`resource_uid`, `section_uid`, `node_uid`, `simulation_state`),\n
KEY `date` (`date`)\n
) TYPE = InnoDB;\n
</string> </value>
</item>
......
76
\ No newline at end of file
77
\ 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