File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77use JsonException ;
88use Throwable ;
9- use Yiisoft \Arrays \ArrayHelper ;
109use Yiisoft \Db \Constraint \CheckConstraint ;
1110use Yiisoft \Db \Constraint \Constraint ;
1211use Yiisoft \Db \Constraint \DefaultValueConstraint ;
1615use Yiisoft \Db \Exception \InvalidConfigException ;
1716use Yiisoft \Db \Exception \NotSupportedException ;
1817use Yiisoft \Db \Expression \Expression ;
18+ use Yiisoft \Db \Helper \ArrayHelper ;
1919use Yiisoft \Db \Schema \AbstractSchema ;
2020use Yiisoft \Db \Schema \ColumnSchemaBuilderInterface ;
2121use Yiisoft \Db \Schema \ColumnSchemaInterface ;
@@ -372,7 +372,7 @@ protected function loadTableIndexes(string $tableName): array
372372
373373 /** @var array[] $indexes */
374374 $ indexes = $ this ->normalizeRowKeyCase ($ indexes , true );
375- $ indexes = ArrayHelper::index ($ indexes , null , 'name ' );
375+ $ indexes = ArrayHelper::index ($ indexes , null , [ 'name ' ] );
376376 $ result = [];
377377
378378 /**
You can’t perform that action at this time.
0 commit comments