fix: align backend APIs and upload flow
This commit is contained in:
@@ -11,6 +11,7 @@ namespace MessageService.Infrastructure.Configs
|
||||
builder.ToTable("messages");
|
||||
builder.HasKey(x => x.Id);
|
||||
builder.HasIndex(x => new { x.StreamKey, x.SequenceId });
|
||||
builder.HasIndex(x => new { x.StreamKey, x.MsgType, x.State, x.SequenceId });
|
||||
builder.ComplexProperty(x => x.Content, c =>
|
||||
{
|
||||
// 1. Fallback 是简单字符串,直接映射
|
||||
|
||||
Reference in New Issue
Block a user