Commit 30a0ed3e authored by Jérome Perrin's avatar Jérome Perrin

remove indexes on meta type. add indexes on reference & title

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6330 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 56532fa8
...@@ -130,10 +130,10 @@ CREATE TABLE `catalog` (\n ...@@ -130,10 +130,10 @@ CREATE TABLE `catalog` (\n
KEY `security_uid` (`security_uid`),\n KEY `security_uid` (`security_uid`),\n
KEY `Parent` (`parent_uid`),\n KEY `Parent` (`parent_uid`),\n
KEY `Path` (`path`),\n KEY `Path` (`path`),\n
KEY `Title` (`title`),\n
KEY `Reference` (`reference`),\n
KEY `relative_url` (`relative_url`),\n KEY `relative_url` (`relative_url`),\n
KEY `Type` (`meta_type`,`portal_type`),\n KEY `Portal Type` (`portal_type`),\n
KEY `Type1` (`portal_type`),\n
KEY `Type2` (`meta_type`),\n
KEY `opportunity_state` (`opportunity_state`),\n KEY `opportunity_state` (`opportunity_state`),\n
KEY `validation_state` (`validation_state`),\n KEY `validation_state` (`validation_state`),\n
KEY `simulation_state` (`simulation_state`),\n KEY `simulation_state` (`simulation_state`),\n
...@@ -215,10 +215,10 @@ CREATE TABLE `catalog` (\n ...@@ -215,10 +215,10 @@ CREATE TABLE `catalog` (\n
KEY `security_uid` (`security_uid`),\n KEY `security_uid` (`security_uid`),\n
KEY `Parent` (`parent_uid`),\n KEY `Parent` (`parent_uid`),\n
KEY `Path` (`path`),\n KEY `Path` (`path`),\n
KEY `Title` (`title`),\n
KEY `Reference` (`reference`),\n
KEY `relative_url` (`relative_url`),\n KEY `relative_url` (`relative_url`),\n
KEY `Type` (`meta_type`,`portal_type`),\n KEY `Portal Type` (`portal_type`),\n
KEY `Type1` (`portal_type`),\n
KEY `Type2` (`meta_type`),\n
KEY `opportunity_state` (`opportunity_state`),\n KEY `opportunity_state` (`opportunity_state`),\n
KEY `validation_state` (`validation_state`),\n KEY `validation_state` (`validation_state`),\n
KEY `simulation_state` (`simulation_state`),\n KEY `simulation_state` (`simulation_state`),\n
......
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