]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix for index gen
authorBrion Vibber <brion@pobox.com>
Tue, 12 Oct 2010 02:18:47 +0000 (19:18 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 12 Oct 2010 02:18:47 +0000 (19:18 -0700)
lib/schema.php

index 4eafb4df2415dc4c6880c70363d8b27b391116e1..acc9412841935aa8d4cb5ffc7c37de705ff68dc8 100644 (file)
@@ -169,7 +169,7 @@ class Schema
                         $this->endCreateTable($name, $def);
         if (!empty($def['indexes'])) {
             foreach ($def['indexes'] as $col => $colDef) {
-                $this->appendCreateIndex($statements, $table, $col, $colDef);
+                $this->appendCreateIndex($statements, $name, $col, $colDef);
             }
         }