Skip to content

Commit

Permalink
Small fix for 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
EraYaN committed Nov 28, 2023
1 parent 9f0f118 commit dafa6dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ private void RewriteColumnName(IConventionPropertyBuilder propertyBuilder)
// Remove any previous setting of the column name we may have done, so we can get the default recalculated below.
property.Builder.HasNoAnnotation(RelationalAnnotationNames.ColumnName);

if (_ignoreMigrationTable && entityType.ClrType.FullName == "Microsoft.EntityFrameworkCore.Migrations.HistoryRow")
if (_ignoreMigrationTable && property.DeclaringType.ClrType.FullName == "Microsoft.EntityFrameworkCore.Migrations.HistoryRow")
{
return;
}
Expand Down

0 comments on commit dafa6dc

Please sign in to comment.