Dont load recordings for streams by default
This commit is contained in:
@ -18,7 +18,7 @@ public class UserStreamRecordingConfiguration : IEntityTypeConfiguration<UserStr
|
||||
.IsRequired();
|
||||
|
||||
builder.HasOne(a => a.Stream)
|
||||
.WithMany(a => a.Recordings)
|
||||
.WithMany()
|
||||
.HasForeignKey(a => a.UserStreamId);
|
||||
}
|
||||
}
|
||||
|
@ -39,7 +39,6 @@ public class UserStream
|
||||
public string ForwardClientId { get; set; } = null!;
|
||||
|
||||
public List<UserStreamGuest> Guests { get; init; } = new();
|
||||
public List<UserStreamRecording> Recordings { get; init; } = new();
|
||||
}
|
||||
|
||||
public enum UserStreamState
|
||||
|
Reference in New Issue
Block a user