Commit 15fe9918 authored by Vincent Pelletier's avatar Vincent Pelletier

Add a key on aggregate_uid, simulation_state and date. This is used in LEFT...

Add a key on aggregate_uid, simulation_state and date. This is used in LEFT JOINs done by Resource_zGetTrackingList.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18105 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5d2a8d04
......@@ -3,11 +3,8 @@
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>Products.ZSQLMethods.SQL</string>
<string>SQL</string>
</tuple>
<none/>
<global name="SQL" module="Products.ZSQLMethods.SQL"/>
<tuple/>
</tuple>
</pickle>
<pickle>
......@@ -108,9 +105,9 @@ CREATE TABLE `item` (\n
KEY `node_uid` (`node_uid`),\n
KEY `section_uid` (`section_uid`),\n
KEY `resource_uid` (`resource_uid`),\n
KEY `variation_text` (`variation_text`)\n
KEY `variation_text` (`variation_text`),\n
KEY `aggregate_simulation_state_date` (`aggregate_uid`,`simulation_state`,`date`)\n
) TYPE=InnoDB;\n
\n
</string> </value>
</item>
<item>
......@@ -118,9 +115,11 @@ CREATE TABLE `item` (\n
<value>
<object>
<klass>
<global name="SQL" module="Shared.DC.ZRDB.DA"/>
<global name="__newobj__" module="copy_reg"/>
</klass>
<none/>
<tuple>
<global name="SQL" module="Shared.DC.ZRDB.DA"/>
</tuple>
<state>
<dictionary>
<item>
......@@ -162,9 +161,9 @@ CREATE TABLE `item` (\n
KEY `node_uid` (`node_uid`),\n
KEY `section_uid` (`section_uid`),\n
KEY `resource_uid` (`resource_uid`),\n
KEY `variation_text` (`variation_text`)\n
KEY `variation_text` (`variation_text`),\n
KEY `aggregate_simulation_state_date` (`aggregate_uid`,`simulation_state`,`date`)\n
) TYPE=InnoDB;\n
\n
</string> </value>
</item>
</dictionary>
......
85
\ No newline at end of file
86
\ 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