summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/system/system.install1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 8661ac40e..3245fc303 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -2046,6 +2046,7 @@ function system_update_7017() {
function system_update_7018() {
$ret = array();
db_drop_index($ret, 'system', 'modules');
+ db_drop_index($ret, 'system', 'type_name');
db_change_field($ret, 'system', 'type', 'type', array('type' => 'varchar', 'length' => 12, 'not null' => TRUE, 'default' => ''));
db_add_index($ret, 'system', 'modules', array('type', 'status', 'weight', 'name'));
db_add_index($ret, 'system', 'type_name', array('type', 'name'));