check add person photo finish
This commit is contained in:
@@ -80,7 +80,11 @@ namespace FamilyTreeAPI.Models
|
||||
|
||||
entity.Property(e => e.Id).HasColumnName("id");
|
||||
entity.Property(e => e.PersonId).HasColumnName("personid");
|
||||
entity.Property(e => e.Photo).HasColumnName("photo");
|
||||
entity.Property(e => e.Photo)
|
||||
.HasColumnName("photo");
|
||||
entity.Property(e => e.PhotoType)
|
||||
.HasMaxLength(20)
|
||||
.HasColumnName("phototype");
|
||||
entity.Property(e => e.ImagePhoto).HasColumnName("imagephot"); //try to store binary in table. "bytea"
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user