From 7a7625662e99238df1ae2939786944b4ec86257d Mon Sep 17 00:00:00 2001 From: Shady Nagy Date: Sat, 13 Feb 2021 17:51:03 +0200 Subject: [PATCH] context to catalogContext (#493) --- src/Infrastructure/Data/CatalogContextSeed.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Infrastructure/Data/CatalogContextSeed.cs b/src/Infrastructure/Data/CatalogContextSeed.cs index e52e543..7f0722a 100644 --- a/src/Infrastructure/Data/CatalogContextSeed.cs +++ b/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(