We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c90c2d4 commit a2279d0Copy full SHA for a2279d0
src/EFCore.Design/Extensions/ScaffoldingModelExtensions.cs
@@ -827,6 +827,7 @@ public static IEnumerable<AttributeCodeFragment> GetDataAnnotations(
827
// Default value is CLR default for property, so exclude it from scaffolded model
828
annotations.Remove(RelationalAnnotationNames.DefaultValueSql);
829
annotations.Remove(RelationalAnnotationNames.DefaultValue);
830
+ annotations.Remove(RelationalAnnotationNames.DefaultConstraintName);
831
}
832
else
833
{
0 commit comments