fix: align backend APIs and upload flow
This commit is contained in:
@@ -11,6 +11,9 @@ namespace GroupService.Infrastructure.Configs
|
||||
builder.ToTable("group_join_requests");
|
||||
builder.HasKey(x => x.Id);
|
||||
builder.HasKey(x => new { x.GroupId, x.UserId });
|
||||
builder.HasIndex(x => x.Id).IsUnique();
|
||||
builder.HasIndex(x => new { x.GroupId, x.State, x.CreationTime });
|
||||
builder.HasIndex(x => new { x.UserId, x.CreationTime });
|
||||
|
||||
builder.ComplexProperty(x => x.UserProfile, u =>
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user