From 99cf6981e7528b8e53f73ba91a7d6a0cf01f3a1f Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 6 Mar 2020 22:28:32 +0800 Subject: Init development of post image feature. --- Timeline/Entities/TimelinePostEntity.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Timeline/Entities') diff --git a/Timeline/Entities/TimelinePostEntity.cs b/Timeline/Entities/TimelinePostEntity.cs index 5805abe0..ca2703b3 100644 --- a/Timeline/Entities/TimelinePostEntity.cs +++ b/Timeline/Entities/TimelinePostEntity.cs @@ -25,6 +25,9 @@ namespace Timeline.Entities [ForeignKey(nameof(AuthorId))] public UserEntity Author { get; set; } = default!; + [Column("content_type"), Required] + public string ContentType { get; set; } = default!; + [Column("content")] public string? Content { get; set; } -- cgit v1.2.3