@ -4,14 +4,12 @@ using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure ;
using Microsoft.EntityFrameworkCore.Infrastructure ;
using Microsoft.EntityFrameworkCore.Metadata ;
using Microsoft.EntityFrameworkCore.Metadata ;
using Microsoft.EntityFrameworkCore.Migrations ;
using Microsoft.EntityFrameworkCore.Migrations ;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion ;
using Microsoft.eShopWeb.Infrastructure.Data ;
namespace Microsoft.eShopWeb.Infrastructure.Data.Migrations
namespace Microsoft.eShopWeb.Infrastructure.Data.Migrations
{
{
[DbContext(typeof(CatalogContext))]
[DbContext(typeof(CatalogContext))]
[Migration("20180725190153_AddExtraConstrains")]
[Migration("20180725190153_AddExtraConstraint s")]
partial class AddExtraConstrains
partial class AddExtraConstraint s
{
{
protected override void BuildTargetModel ( ModelBuilder modelBuilder )
protected override void BuildTargetModel ( ModelBuilder modelBuilder )
{
{
@ -184,7 +182,7 @@ namespace Microsoft.eShopWeb.Infrastructure.Data.Migrations
b1 . Property < string > ( "City" )
b1 . Property < string > ( "City" )
. IsRequired ( )
. IsRequired ( )
. HasMaxLength ( 1 8 9 ) ;
. HasMaxLength ( 1 0 0 ) ;
b1 . Property < string > ( "Country" )
b1 . Property < string > ( "Country" )
. IsRequired ( )
. IsRequired ( )