Index: panels.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/panels/panels.install,v
retrieving revision 1.1.6.49
diff -u -p -r1.1.6.49 panels.install
--- panels.install	30 May 2008 19:15:24 -0000	1.1.6.49
+++ panels.install	15 Jun 2008 12:01:50 -0000
@@ -513,7 +513,6 @@ function panels_update_5215() {
     case 'mysql':
     case 'mysqli':
       $ret[] = update_sql("ALTER TABLE {panels_object_cache} CHANGE COLUMN data data longtext");
-      $ret[] = update_sql("ALTER TABLE {panels_mini} DROP INDEX name_2");
       $ret[] = update_sql("ALTER TABLE {panels_page} DROP INDEX name_2");
       $ret[] = update_sql("ALTER TABLE {panels_object_cache} DROP INDEX {panels_object_cache}_idx");
       $ret[] = update_sql("ALTER TABLE {panels_pane} ADD PRIMARY KEY (pid)");
Index: panels_mini/panels_mini.install
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/panels/panels_mini/Attic/panels_mini.install,v
retrieving revision 1.1.2.6
diff -u -p -r1.1.2.6 panels_mini.install
--- panels_mini/panels_mini.install	27 May 2008 20:21:14 -0000	1.1.2.6
+++ panels_mini/panels_mini.install	15 Jun 2008 12:01:50 -0000
@@ -139,3 +139,16 @@ function panels_mini_update_5001() {
   return $ret;
 }
 
+/**
+ * Get rid of a duplicate index resulting from the CREATE TABLE queries
+ * in the install() of panels schema 5214
+ */
+function panels_mini_update_5002() {
+  $ret = array();
+  switch ($GLOBALS['db_type']) {
+    case 'mysql':
+    case 'mysqli':
+      $ret[] = update_sql("ALTER TABLE {panels_mini} DROP INDEX name_2");
+  }
+  return $ret;
+}
