diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-11 19:18:47 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-11 19:18:47 -0700 |
commit | 2c9f877ab5b79f4a0734149f3769bfa0ddf4dd4d (patch) | |
tree | b61779b4d34a56b93effdff5fb4fcbd4926b04d5 /lib/schema.php | |
parent | 9cb42c8e45b9adf33872a7c5b116795c768b3b49 (diff) |
fix for index gen
Diffstat (limited to 'lib/schema.php')
-rw-r--r-- | lib/schema.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/schema.php b/lib/schema.php index 4eafb4df2..acc941284 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); } } |