mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(dir): ✨ add InitialSeedData ef migration
This commit is contained in:
parent
6268928f07
commit
2e042a3601
4 changed files with 250869 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
|
|
@ -28,7 +28,7 @@ public static void HasDataJsonFile<TEntity>(this OwnedNavigationBuilder ownedNav
|
|||
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)) return [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue