Skip to content

Commit

Permalink
Use Literal instead of UnknownLiteral for column type
Browse files Browse the repository at this point in the history
See #16484
  • Loading branch information
ajcvickers committed Jul 8, 2019
1 parent 1afe17b commit 16b75e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ protected virtual void GeneratePropertyAnnotations([NotNull] IProperty property,
.Append(".")
.Append(nameof(RelationalPropertyBuilderExtensions.HasColumnType))
.Append("(")
.Append(Code.UnknownLiteral(property.GetColumnType()))
.Append(Code.Literal(property.GetColumnType()))
.Append(")");

GenerateFluentApiForAnnotation(
Expand Down

0 comments on commit 16b75e4

Please sign in to comment.