mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Add alias and display name to people.
This commit is contained in:
@@ -1076,6 +1076,10 @@ namespace Cicm.Database.Models
|
||||
|
||||
entity.HasIndex(e => e.Photo);
|
||||
|
||||
entity.HasIndex(e => e.Alias);
|
||||
|
||||
entity.HasIndex(e => e.DisplayName);
|
||||
|
||||
entity.HasOne(d => d.CountryOfBirth).WithMany(p => p.People).HasForeignKey(d => d.CountryOfBirthId);
|
||||
|
||||
entity.HasOne(d => d.DocumentPerson).WithOne(p => p.Person)
|
||||
|
||||
Reference in New Issue
Block a user