Skip to content

Commit

Permalink
Fix the foreign key unique constraint DataTable
Browse files Browse the repository at this point in the history
  • Loading branch information
GillesTourreau committed Aug 21, 2024
1 parent bf568e7 commit 37e8c8c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ ORDER BY
[fk].[name], [pc].[column_id]";

public SqlServerForeignKeysComparer()
: base("ForeignKeys", Sql, ["ForeignKeyName"])
: base("ForeignKeys", Sql, ["TableName", "ForeignKeyName", "ColumnName"])
{
}
}
Expand Down

0 comments on commit 37e8c8c

Please sign in to comment.