mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix(directory): 🐛 re-enable FilterListViewUrl seeding
This commit is contained in:
parent
279dd381de
commit
378f8dec59
1 changed files with 0 additions and 5 deletions
|
|
@ -2,7 +2,6 @@
|
|||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text.Json;
|
||||
using FilterLists.Directory.Infrastructure.Persistence.Queries.Entities;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Persistence
|
||||
|
|
@ -13,10 +12,6 @@ public static void HasDataJsonFile<TEntity>(this EntityTypeBuilder entityTypeBui
|
|||
{
|
||||
_ = entityTypeBuilder ?? throw new ArgumentNullException(nameof(entityTypeBuilder));
|
||||
|
||||
// TODO: fix seeding FilterListViewUrl
|
||||
if (typeof(TEntity).Name == nameof(FilterListViewUrl))
|
||||
return;
|
||||
|
||||
var path = Path.Combine("../../data", $"{typeof(TEntity).Name}.json");
|
||||
if (!File.Exists(path)) return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue