Unverified Commit 63348cc2 authored by belgattitude's avatar belgattitude Committed by Luís Cobucci

CS-FIX

parent 345b650b
...@@ -279,8 +279,10 @@ class MySqlSchemaManager extends AbstractSchemaManager ...@@ -279,8 +279,10 @@ class MySqlSchemaManager extends AbstractSchemaManager
$result = []; $result = [];
foreach ($list as $constraint) { foreach ($list as $constraint) {
$result[] = new ForeignKeyConstraint( $result[] = new ForeignKeyConstraint(
array_values($constraint['local']), $constraint['foreignTable'], array_values($constraint['local']),
array_values($constraint['foreign']), $constraint['name'], $constraint['foreignTable'],
array_values($constraint['foreign']),
$constraint['name'],
[ [
'onDelete' => $constraint['onDelete'], 'onDelete' => $constraint['onDelete'],
'onUpdate' => $constraint['onUpdate'], 'onUpdate' => $constraint['onUpdate'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment