From 9e9d8e0b9d2e9a6a5dc9c7553e58cc3febfbbb7a Mon Sep 17 00:00:00 2001 From: Nadeeshaan Gunasinghe Date: Thu, 31 Jul 2014 01:36:36 +0530 Subject: [PATCH] index added to viewlevels table --- installation/sql/mysql/joomla.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/installation/sql/mysql/joomla.sql b/installation/sql/mysql/joomla.sql index 6ea5f325c9986..3f04bda8168ae 100644 --- a/installation/sql/mysql/joomla.sql +++ b/installation/sql/mysql/joomla.sql @@ -1965,8 +1965,9 @@ CREATE TABLE IF NOT EXISTS `#__viewlevels` ( `ordering` int(11) NOT NULL DEFAULT 0, `rules` varchar(5120) NOT NULL COMMENT 'JSON encoded access control.', PRIMARY KEY (`id`), - UNIQUE KEY `idx_assetgroup_title_lookup` (`title`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=7; + UNIQUE KEY `idx_assetgroup_title_lookup` (`title`), + KEY `idx_ordering_title` (`ordering`,`title`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=7; -- -- Dumping data for table `#__viewlevels`