diff options
author | crupest <crupest@outlook.com> | 2020-02-29 19:39:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 19:39:22 +0800 |
commit | 39b028cb8aa280fa63f758e924d4449bff72720c (patch) | |
tree | b4f26809215caf4fc31be5a097819f5ad2f2a9d3 /Timeline/Entities/TimelinePostEntity.cs | |
parent | 11ab08bc1b61636e0681914c62794720e4ac6ac4 (diff) | |
parent | 824da227f6a18c9aa265e5a7b16557b5e22f485f (diff) | |
download | timeline-39b028cb8aa280fa63f758e924d4449bff72720c.tar.gz timeline-39b028cb8aa280fa63f758e924d4449bff72720c.tar.bz2 timeline-39b028cb8aa280fa63f758e924d4449bff72720c.zip |
Merge pull request #67 from crupest/post-local-id
Make posts use local id.
Diffstat (limited to 'Timeline/Entities/TimelinePostEntity.cs')
-rw-r--r-- | Timeline/Entities/TimelinePostEntity.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Timeline/Entities/TimelinePostEntity.cs b/Timeline/Entities/TimelinePostEntity.cs index a615c61f..5805abe0 100644 --- a/Timeline/Entities/TimelinePostEntity.cs +++ b/Timeline/Entities/TimelinePostEntity.cs @@ -10,6 +10,9 @@ namespace Timeline.Entities [Column("id"), Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
+ [Column("local_id")]
+ public long LocalId { get; set; }
+
[Column("timeline")]
public long TimelineId { get; set; }
|