From 2c9f877ab5b79f4a0734149f3769bfa0ddf4dd4d Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 11 Oct 2010 19:18:47 -0700 Subject: [PATCH] fix for index gen --- lib/schema.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.39.5