From: Brion Vibber Date: Tue, 12 Oct 2010 02:18:47 +0000 (-0700) Subject: fix for index gen X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2c9f877ab5b79f4a0734149f3769bfa0ddf4dd4d;p=quix0rs-gnu-social.git fix for index gen --- diff --git a/lib/schema.php b/lib/schema.php index 4eafb4df24..acc9412841 100644 --- a/lib/schema.php +++ b/lib/schema.php @@ -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); } }