feat(dal): Applications добавлен уникальный ключ на поле Name
This commit is contained in:
@@ -459,6 +459,9 @@ namespace PARR.DAL.Migrations
|
||||
|
||||
b.HasIndex("ApplicationTypeId");
|
||||
|
||||
b.HasIndex("Name")
|
||||
.IsUnique();
|
||||
|
||||
b.ToTable("Applications");
|
||||
});
|
||||
|
||||
@@ -1621,7 +1624,6 @@ namespace PARR.DAL.Migrations
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<string>("IP")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<DateTimeOffset?>("LastLogon")
|
||||
|
||||
Reference in New Issue
Block a user