From 1caf863b870d4b628533db8279e6e5758832eef0 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 12 Feb 2021 18:31:14 +0800 Subject: feat: Revert timeline post entity change. --- BackEnd/Timeline/Entities/TimelinePostEntity.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/BackEnd/Timeline/Entities/TimelinePostEntity.cs b/BackEnd/Timeline/Entities/TimelinePostEntity.cs index 1f0270cb..317d43fc 100644 --- a/BackEnd/Timeline/Entities/TimelinePostEntity.cs +++ b/BackEnd/Timeline/Entities/TimelinePostEntity.cs @@ -26,6 +26,16 @@ namespace Timeline.Entities [ForeignKey(nameof(AuthorId))] public UserEntity? Author { get; set; } = default!; + [Column("content_type")] + public string? ContentType { get; set; } + + [Column("content")] + public string? Content { get; set; } + + [Column("extra_content")] + public string? ExtraContent { get; set; } + + [Column("deleted")] public bool Deleted { get; set; } [Column("color")] -- cgit v1.2.3