Skip to content

Commit

Permalink
Merge pull request #20705 from eileenmcnaughton/prim
Browse files Browse the repository at this point in the history
Fix schema support for composite primary keys
  • Loading branch information
seamuslee001 authored Jun 24, 2021
2 parents 1c892e0 + 179eeac commit 1709219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/CodeGen/Specification.php
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ public function getPrimaryKey(&$primaryXML, &$fields, &$table) {
if (isset($fields[$name])) {
$fields[$name]['autoincrement'] = $auto;
}
$fields[$name]['autoincrement'] = $auto;

$primaryKey = [
'name' => $name,
'autoincrement' => $auto,
Expand Down

0 comments on commit 1709219

Please sign in to comment.