Skip to content

Commit

Permalink
Use correct method in createPrimaryKey
Browse files Browse the repository at this point in the history
  • Loading branch information
gartens committed Jul 16, 2024
1 parent fb5f71c commit 98c9d30
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ public void createPrimaryKey( LogicalTable table, List<String> columnNames, Stat
columnIds.add( logicalColumn.id );
}

if ( oldPk != null && oldPk.key.fieldIds.containsAll( columnIds ) && columnIds.contains( oldPk.key.fieldIds ) ) {
if ( oldPk != null && oldPk.key.fieldIds.containsAll( columnIds ) && columnIds.containsAll( oldPk.key.fieldIds ) ) {
return;
}

Expand Down

0 comments on commit 98c9d30

Please sign in to comment.