Commit 29d03875 authored by Vincent Pelletier's avatar Vincent Pelletier

Restore indexes on path and relative_url, they should never have been removed.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14256 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6e170b1c
...@@ -129,7 +129,9 @@ CREATE TABLE `catalog` (\n ...@@ -129,7 +129,9 @@ CREATE TABLE `catalog` (\n
KEY `simulation_state_title` (`simulation_state_title`, `portal_type`, `security_uid`),\n KEY `simulation_state_title` (`simulation_state_title`, `portal_type`, `security_uid`),\n
KEY `source_reference` (`parent_uid`, `source_reference`),\n KEY `source_reference` (`parent_uid`, `source_reference`),\n
KEY `start_date` (`parent_uid`, `start_date`),\n KEY `start_date` (`parent_uid`, `start_date`),\n
KEY `reference` (`portal_type`, `reference`)\n KEY `reference` (`portal_type`, `reference`),\n
KEY `Path` (`path`),\n
KEY `relative_url` (`relative_url`)\n
) TYPE=InnoDB;\n ) TYPE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
...@@ -202,7 +204,9 @@ CREATE TABLE `catalog` (\n ...@@ -202,7 +204,9 @@ CREATE TABLE `catalog` (\n
KEY `simulation_state_title` (`simulation_state_title`, `portal_type`, `security_uid`),\n KEY `simulation_state_title` (`simulation_state_title`, `portal_type`, `security_uid`),\n
KEY `source_reference` (`parent_uid`, `source_reference`),\n KEY `source_reference` (`parent_uid`, `source_reference`),\n
KEY `start_date` (`parent_uid`, `start_date`),\n KEY `start_date` (`parent_uid`, `start_date`),\n
KEY `reference` (`portal_type`, `reference`)\n KEY `reference` (`portal_type`, `reference`),\n
KEY `Path` (`path`),\n
KEY `relative_url` (`relative_url`)\n
) TYPE=InnoDB;\n ) TYPE=InnoDB;\n
</string> </value> </string> </value>
</item> </item>
......
211 214
\ 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