UX tweaks, traits bug fix, adding member info
This commit is contained in:
@@ -18,7 +18,7 @@ public class UserConfiguration : IEntityTypeConfiguration<User>
|
||||
builder.HasIndex(u => u.Email).IsUnique();
|
||||
|
||||
builder.HasMany(u => u.Organizations)
|
||||
.WithOne()
|
||||
.WithOne(ou => ou.User)
|
||||
.HasForeignKey(ou => ou.UserId)
|
||||
.OnDelete(DeleteBehavior.Cascade);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user