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`