diff options
author | crupest <crupest@outlook.com> | 2020-02-29 00:14:05 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-02-29 00:14:05 +0800 |
commit | c2a1aca765eb034cdd937d443bb3df3dab65d2b0 (patch) | |
tree | 8e0c2f151948951c9aac633a9a6eefe2a236953e /Timeline/Migrations/DatabaseContextModelSnapshot.cs | |
parent | 1d5e54dead00c08b500b9d40ec4f86d2554a0aab (diff) | |
download | timeline-c2a1aca765eb034cdd937d443bb3df3dab65d2b0.tar.gz timeline-c2a1aca765eb034cdd937d443bb3df3dab65d2b0.tar.bz2 timeline-c2a1aca765eb034cdd937d443bb3df3dab65d2b0.zip |
Remove the length constraint in entity as entity framework core does not use them as well.
Diffstat (limited to 'Timeline/Migrations/DatabaseContextModelSnapshot.cs')
-rw-r--r-- | Timeline/Migrations/DatabaseContextModelSnapshot.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/Timeline/Migrations/DatabaseContextModelSnapshot.cs b/Timeline/Migrations/DatabaseContextModelSnapshot.cs index d5f9c0e4..2c97ea79 100644 --- a/Timeline/Migrations/DatabaseContextModelSnapshot.cs +++ b/Timeline/Migrations/DatabaseContextModelSnapshot.cs @@ -140,8 +140,7 @@ namespace Timeline.Migrations b.Property<string>("ETag")
.HasColumnName("etag")
- .HasColumnType("TEXT")
- .HasMaxLength(30);
+ .HasColumnType("TEXT");
b.Property<DateTime>("LastModified")
.HasColumnName("last_modified")
@@ -172,8 +171,7 @@ namespace Timeline.Migrations b.Property<string>("Nickname")
.HasColumnName("nickname")
- .HasColumnType("TEXT")
- .HasMaxLength(100);
+ .HasColumnType("TEXT");
b.Property<string>("Password")
.IsRequired()
@@ -188,8 +186,7 @@ namespace Timeline.Migrations b.Property<string>("Username")
.IsRequired()
.HasColumnName("username")
- .HasColumnType("TEXT")
- .HasMaxLength(26);
+ .HasColumnType("TEXT");
b.Property<long>("Version")
.ValueGeneratedOnAdd()
|