Updates to existing PR

- updating City value to be 100 instead of 189. The longest city name in the world is 85 characters long, so making it 100 just in case.
- Fixed typo in file name: constrains to constraints
This commit is contained in:
Eric Fleming
2019-01-22 20:28:56 -05:00
parent 77540caf29
commit 9c65c4e3f7
4 changed files with 8 additions and 12 deletions

View File

@@ -57,7 +57,7 @@ namespace Microsoft.eShopWeb.Infrastructure.Data
.IsRequired();
builder.Property(a => a.City)
.HasMaxLength(189)
.HasMaxLength(100)
.IsRequired();
}