Use stream_id to identify stream

This commit is contained in:
2023-07-31 14:08:54 +01:00
parent 99efab6013
commit 8e18029101
12 changed files with 359 additions and 20 deletions

View File

@ -8,7 +8,7 @@ public class UserStreamConfiguration : IEntityTypeConfiguration<UserStream>
public void Configure(EntityTypeBuilder<UserStream> builder)
{
builder.HasKey(a => a.Id);
builder.Property(a => a.ClientId)
builder.Property(a => a.StreamId)
.IsRequired();
builder.Property(a => a.Starts)