mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
fix foreign key
This commit is contained in:
parent
6c471a1d5d
commit
2137f1e318
2 changed files with 2 additions and 2 deletions
|
|
@ -5,7 +5,7 @@ namespace FilterLists.Data.Entities
|
|||
public class FilterList : BaseEntity
|
||||
{
|
||||
public List<Language> Languages { get; set; }
|
||||
public virtual Maintainer Maintainer { get; set; }
|
||||
public long MaintainerId { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string DescriptionSourceUrl { get; set; }
|
||||
public string DonateUrl { get; set; }
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ public class FilterListTypeConfiguration : BaseEntityTypeConfiguration<FilterLis
|
|||
{
|
||||
public override void Configure(EntityTypeBuilder<FilterList> entityTypeBuilder)
|
||||
{
|
||||
entityTypeBuilder.Property(b => b.Maintainer)
|
||||
entityTypeBuilder.Property(b => b.MaintainerId)
|
||||
.HasAnnotation("JsonIgnore", new JsonIgnoreAttribute());
|
||||
|
||||
entityTypeBuilder.Property(b => b.Description)
|
||||
|
|
|
|||
Loading…
Reference in a new issue