adjust block unique constraint (#1634)
* upgrade dependencies * allow blocks with same name in different groups * code cleanup
This commit is contained in:
@@ -9,7 +9,7 @@ public class BlockGroupConfiguration : IEntityTypeConfiguration<BlockGroup>
|
||||
public void Configure(EntityTypeBuilder<BlockGroup> builder)
|
||||
{
|
||||
builder.ToTable("BlockGroup");
|
||||
|
||||
|
||||
builder.HasIndex(b => b.Name)
|
||||
.IsUnique();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user