fix for index gen
This commit is contained in:
parent
9cb42c8e45
commit
2c9f877ab5
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user