Updating and testing migrations (#42)

Updating readme to describe how to run migrations
This commit is contained in:
Steve Smith
2017-08-22 17:58:53 -04:00
committed by GitHub
parent ecb4889dd3
commit eefc8170cb
9 changed files with 842 additions and 22 deletions

View File

@@ -12,6 +12,10 @@ namespace Infrastructure.Data
public CatalogContext(DbContextOptions<CatalogContext> options) : base(options)
{
}
//public CatalogContext()
//{
// // required by migrations
//}
public DbSet<Basket> Baskets { get; set; }
public DbSet<CatalogItem> CatalogItems { get; set; }
public DbSet<CatalogBrand> CatalogBrands { get; set; }