From 30a0ed3e65b0daf75864ee2c7377ffcd1f55e8a0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Tue, 28 Mar 2006 10:40:48 +0000
Subject: [PATCH] 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
---
 .../portal_catalog/erp5_mysql/z_create_catalog.xml   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_catalog.xml b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_catalog.xml
index f69e528848..10f0fed9a1 100644
--- a/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_catalog.xml
+++ b/product/ERP5/bootstrap/erp5_core/CatalogMethodTemplateItem/portal_catalog/erp5_mysql/z_create_catalog.xml
@@ -130,10 +130,10 @@ CREATE TABLE `catalog` (\n
   KEY `security_uid` (`security_uid`),\n
   KEY `Parent` (`parent_uid`),\n
   KEY `Path` (`path`),\n
+  KEY `Title` (`title`),\n
+  KEY `Reference` (`reference`),\n
   KEY `relative_url` (`relative_url`),\n
-  KEY `Type` (`meta_type`,`portal_type`),\n
-  KEY `Type1` (`portal_type`),\n
-  KEY `Type2` (`meta_type`),\n
+  KEY `Portal Type` (`portal_type`),\n
   KEY `opportunity_state` (`opportunity_state`),\n
   KEY `validation_state` (`validation_state`),\n
   KEY `simulation_state` (`simulation_state`),\n
@@ -215,10 +215,10 @@ CREATE TABLE `catalog` (\n
   KEY `security_uid` (`security_uid`),\n
   KEY `Parent` (`parent_uid`),\n
   KEY `Path` (`path`),\n
+  KEY `Title` (`title`),\n
+  KEY `Reference` (`reference`),\n
   KEY `relative_url` (`relative_url`),\n
-  KEY `Type` (`meta_type`,`portal_type`),\n
-  KEY `Type1` (`portal_type`),\n
-  KEY `Type2` (`meta_type`),\n
+  KEY `Portal Type` (`portal_type`),\n
   KEY `opportunity_state` (`opportunity_state`),\n
   KEY `validation_state` (`validation_state`),\n
   KEY `simulation_state` (`simulation_state`),\n
-- 
2.30.9