following added

This commit is contained in:
2024-11-10 14:33:41 +01:00
Unverified
parent 046dc26915
commit 0bf572d844
24 changed files with 2015 additions and 90 deletions

View File

@@ -22,7 +22,7 @@ public class AccountFollowConfiguration : IEntityTypeConfiguration<AccountFollow
.IsRequired();
builder.HasOne(x => x.AccountFollowed)
.WithMany(x => x.AccountFollowedBy)
.WithMany(x => x.AccountFollowers)
.HasForeignKey(x => x.AccountFollowedId)
.IsRequired();
builder.Property(x => x.AccountFollowedId)