aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Migrations/DatabaseContextModelSnapshot.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-02-29 19:32:58 +0800
committercrupest <crupest@outlook.com>2020-02-29 19:32:58 +0800
commit3025536a7901da556bc5e3fba7a77064b54796c0 (patch)
treeb4f26809215caf4fc31be5a097819f5ad2f2a9d3 /Timeline/Migrations/DatabaseContextModelSnapshot.cs
parentb6b6c3089d42adc3d39aeb5efcbce7bdef09b3cb (diff)
downloadtimeline-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/Migrations/DatabaseContextModelSnapshot.cs')
-rw-r--r--Timeline/Migrations/DatabaseContextModelSnapshot.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/Timeline/Migrations/DatabaseContextModelSnapshot.cs b/Timeline/Migrations/DatabaseContextModelSnapshot.cs
index 2c97ea79..c4b00f47 100644
--- a/Timeline/Migrations/DatabaseContextModelSnapshot.cs
+++ b/Timeline/Migrations/DatabaseContextModelSnapshot.cs
@@ -23,9 +23,9 @@ namespace Timeline.Migrations
.HasColumnName("id")
.HasColumnType("INTEGER");
- b.Property<byte[]>("Token")
+ b.Property<byte[]>("Key")
.IsRequired()
- .HasColumnName("token")
+ .HasColumnName("key")
.HasColumnType("BLOB");
b.HasKey("Id");
@@ -44,6 +44,10 @@ namespace Timeline.Migrations
.HasColumnName("create_time")
.HasColumnType("TEXT");
+ b.Property<long>("CurrentPostLocalId")
+ .HasColumnName("current_post_local_id")
+ .HasColumnType("INTEGER");
+
b.Property<string>("Description")
.HasColumnName("description")
.HasColumnType("TEXT");
@@ -110,6 +114,10 @@ namespace Timeline.Migrations
.HasColumnName("last_updated")
.HasColumnType("TEXT");
+ b.Property<long>("LocalId")
+ .HasColumnName("local_id")
+ .HasColumnType("INTEGER");
+
b.Property<DateTime>("Time")
.HasColumnName("time")
.HasColumnType("TEXT");