Shady Nagy
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
src/Infrastructure/Data/CatalogContextSeed.cs
|
|
|
@ -16,7 +16,7 @@ namespace Microsoft.eShopWeb.Infrastructure.Data |
|
|
|
try |
|
|
|
{ |
|
|
|
// TODO: Only run this if using a real database
|
|
|
|
// context.Database.Migrate();
|
|
|
|
// catalogContext.Database.Migrate();
|
|
|
|
if (!await catalogContext.CatalogBrands.AnyAsync()) |
|
|
|
{ |
|
|
|
await catalogContext.CatalogBrands.AddRangeAsync( |
|
|
|
|