From 00955e765a7c847e47658044d84e58309d373bf5 Mon Sep 17 00:00:00 2001 From: crupest Date: Sat, 29 Feb 2020 00:14:05 +0800 Subject: Remove the length constraint in entity as entity framework core does not use them as well. --- Timeline/Migrations/DatabaseContextModelSnapshot.cs | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'Timeline/Migrations/DatabaseContextModelSnapshot.cs') 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("ETag") .HasColumnName("etag") - .HasColumnType("TEXT") - .HasMaxLength(30); + .HasColumnType("TEXT"); b.Property("LastModified") .HasColumnName("last_modified") @@ -172,8 +171,7 @@ namespace Timeline.Migrations b.Property("Nickname") .HasColumnName("nickname") - .HasColumnType("TEXT") - .HasMaxLength(100); + .HasColumnType("TEXT"); b.Property("Password") .IsRequired() @@ -188,8 +186,7 @@ namespace Timeline.Migrations b.Property("Username") .IsRequired() .HasColumnName("username") - .HasColumnType("TEXT") - .HasMaxLength(26); + .HasColumnType("TEXT"); b.Property("Version") .ValueGeneratedOnAdd() -- cgit v1.2.3