mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
refactor(dir): ♻ re-gen SeedData migration
This commit is contained in:
parent
580be79d5d
commit
5b5b458661
4 changed files with 253997 additions and 1 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue