refactor(dir): ♻ re-gen SeedData migration

This commit is contained in:
Collin M. Barrett 2021-11-20 17:03:21 -06:00
parent 580be79d5d
commit 5b5b458661
4 changed files with 253997 additions and 1 deletions

View file

@ -51,7 +51,7 @@ public static void HasDataJsonFile<TEntity>(this EntityTypeBuilder entityTypeBui
private static List<TEntity> Deserialize<TEntity>()
{
// uncomment to short-circuit HasData() when adding a migration
return new List<TEntity>();
//return new List<TEntity>();
var path = Path.Combine("../data", $"{typeof(TEntity).Name}.json");
if (!File.Exists(path))