Add alias and display name to document people.

This commit is contained in:
2019-06-30 22:37:03 +01:00
parent 3e03c962fa
commit b4b01ce2e2
6 changed files with 8254 additions and 6 deletions

View File

@@ -398,6 +398,10 @@ namespace Cicm.Database.Migrations
{
b.Property<int>("Id").ValueGeneratedOnAdd();
b.Property<string>("Alias");
b.Property<string>("DisplayName");
b.Property<string>("Name").IsRequired();
b.Property<int?>("PersonId");
@@ -406,6 +410,10 @@ namespace Cicm.Database.Migrations
b.HasKey("Id");
b.HasIndex("Alias");
b.HasIndex("DisplayName");
b.HasIndex("Name");
b.HasIndex("PersonId").IsUnique();