Skip to content

Commit fdd2658

Browse files
committed
fix primary key
1 parent d31286d commit fdd2658

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Command/SchemaLoadCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ function SchemaLoadCommand($input, $output)
8989
}
9090

9191
// only if specified
92-
if ((string) $xml['primaryKey']) {
92+
if ((string) $tableNode['primaryKey']) {
9393
$table->setPrimaryKey(
94-
[(string) $xml['primaryKey']]
94+
[(string) $tableNode['primaryKey']]
9595
);
9696
}
9797
}

0 commit comments

Comments
 (0)