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 | 824da227f6a18c9aa265e5a7b16557b5e22f485f (patch) | |
tree | b4f26809215caf4fc31be5a097819f5ad2f2a9d3 /Timeline/Migrations/20200221064341_AddJwtToken.Designer.cs | |
parent | 11ab08bc1b61636e0681914c62794720e4ac6ac4 (diff) | |
download | timeline-824da227f6a18c9aa265e5a7b16557b5e22f485f.tar.gz timeline-824da227f6a18c9aa265e5a7b16557b5e22f485f.tar.bz2 timeline-824da227f6a18c9aa265e5a7b16557b5e22f485f.zip |
Now posts use local id in same timeline. Also fixed some unconforming place in migrations.
Diffstat (limited to 'Timeline/Migrations/20200221064341_AddJwtToken.Designer.cs')
-rw-r--r-- | Timeline/Migrations/20200221064341_AddJwtToken.Designer.cs | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Timeline/Migrations/20200221064341_AddJwtToken.Designer.cs b/Timeline/Migrations/20200221064341_AddJwtToken.Designer.cs index 56596249..eb328b52 100644 --- a/Timeline/Migrations/20200221064341_AddJwtToken.Designer.cs +++ b/Timeline/Migrations/20200221064341_AddJwtToken.Designer.cs @@ -25,9 +25,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");
@@ -142,8 +142,7 @@ namespace Timeline.Migrations b.Property<string>("ETag")
.HasColumnName("etag")
- .HasColumnType("TEXT")
- .HasMaxLength(30);
+ .HasColumnType("TEXT");
b.Property<DateTime>("LastModified")
.HasColumnName("last_modified")
@@ -174,8 +173,7 @@ namespace Timeline.Migrations b.Property<string>("Nickname")
.HasColumnName("nickname")
- .HasColumnType("TEXT")
- .HasMaxLength(100);
+ .HasColumnType("TEXT");
b.Property<string>("Password")
.IsRequired()
@@ -190,8 +188,7 @@ namespace Timeline.Migrations b.Property<string>("Username")
.IsRequired()
.HasColumnName("username")
- .HasColumnType("TEXT")
- .HasMaxLength(26);
+ .HasColumnType("TEXT");
b.Property<long>("Version")
.ValueGeneratedOnAdd()
|