feat(dal): Applications добавлен уникальный ключ на поле Name

This commit is contained in:
Mikhail Kuznetsov
2024-02-05 16:02:15 +10:00
parent 3d20db4284
commit 745183fc71
4 changed files with 2926 additions and 2 deletions

View File

@@ -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")