mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 19:54:55 +00:00
was added firebase nitifying
This commit is contained in:
@@ -9,6 +9,9 @@ public class MessagesConfiguration : IEntityTypeConfiguration<Message>
|
||||
public void Configure(EntityTypeBuilder<Message> builder)
|
||||
{
|
||||
builder.HasKey(m => m.Id);
|
||||
|
||||
// Просто индекс, без unique
|
||||
builder.HasIndex(m => m.RecipientId);
|
||||
|
||||
builder.HasMany(m => m.Reactions)
|
||||
.WithOne(r => r.Message)
|
||||
|
||||
Reference in New Issue
Block a user