Skip to content

Commit

Permalink
Merge pull request #169 from danielaloisio/master
Browse files Browse the repository at this point in the history
CORREÇÃO MAPEAMENTO BOOK
  • Loading branch information
raffacabofrio authored Dec 11, 2018
2 parents 7240dc1 + 23ab8ec commit f938266
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ShareBook/ShareBook.Repository/Mapping/BookMap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ public BookMap(EntityTypeBuilder<Book> entityBuilder)
{
entityBuilder.HasKey(t => t.Id);

entityBuilder.Property(t => t.UserId);

entityBuilder.Property(t => t.Author)
.HasColumnType("varchar(200)")
.HasMaxLength(50)
Expand Down

0 comments on commit f938266

Please sign in to comment.