Switching to InMemory for Mac

This commit is contained in:
Steve Smith
2017-04-21 00:06:40 -04:00
parent 222319f6bc
commit a69afa2264
3 changed files with 7 additions and 3 deletions

View File

@@ -19,7 +19,8 @@
var context = (CatalogContext)applicationBuilder
.ApplicationServices.GetService(typeof(CatalogContext));
context.Database.Migrate();
// TODO: Only run this if using a real database
// context.Database.Migrate();
if (!context.CatalogBrands.Any())
{