return postdto from post create
This commit is contained in:
parent
8ad4302ec8
commit
d1687f276b
15 changed files with 226 additions and 111 deletions
|
@ -11,5 +11,10 @@ internal class PostConfiguration : IEntityTypeConfiguration<Post>
|
|||
table.ToTable("post");
|
||||
table.OwnsMany(post => post.Media).WithOwner();
|
||||
table.OwnsMany(post => post.Reactions).WithOwner();
|
||||
|
||||
table.Property<string>("PossibleReactionsJson")
|
||||
.HasColumnName("possible_reactions");
|
||||
|
||||
table.Ignore(e => e.PossibleReactions);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue