Add missing migration (#298)

This commit is contained in:
Eric Fleming
2019-09-11 08:39:54 -04:00
committed by Steve Smith
parent 1cc0e51d16
commit c370b8affb
3 changed files with 383 additions and 5 deletions

View File

@@ -28,9 +28,7 @@ namespace Microsoft.eShopWeb.Infrastructure.Data.Migrations
.ValueGeneratedOnAdd()
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
b.Property<string>("BuyerId")
.IsRequired()
.HasMaxLength(20);
b.Property<string>("BuyerId");
b.HasKey("Id");
@@ -72,7 +70,7 @@ namespace Microsoft.eShopWeb.Infrastructure.Data.Migrations
b.HasKey("Id");
b.ToTable("CatalogBrands");
b.ToTable("CatalogBrand");
});
modelBuilder.Entity("Microsoft.eShopWeb.ApplicationCore.Entities.CatalogItem", b =>
@@ -119,7 +117,7 @@ namespace Microsoft.eShopWeb.Infrastructure.Data.Migrations
b.HasKey("Id");
b.ToTable("CatalogTypes");
b.ToTable("CatalogType");
});
modelBuilder.Entity("Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate.Order", b =>