diff options
author | crupest <crupest@outlook.com> | 2020-02-29 19:32:58 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-02-29 19:32:58 +0800 |
commit | 3025536a7901da556bc5e3fba7a77064b54796c0 (patch) | |
tree | b4f26809215caf4fc31be5a097819f5ad2f2a9d3 /Timeline/Entities/TimelinePostEntity.cs | |
parent | b6b6c3089d42adc3d39aeb5efcbce7bdef09b3cb (diff) | |
download | timeline-3025536a7901da556bc5e3fba7a77064b54796c0.tar.gz timeline-3025536a7901da556bc5e3fba7a77064b54796c0.tar.bz2 timeline-3025536a7901da556bc5e3fba7a77064b54796c0.zip |
Now posts use local id in same timeline. Also fixed some unconforming place in migrations.
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; }
|