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/20200105150407_Initialize.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Timeline/Migrations/20200105150407_Initialize.cs') diff --git a/Timeline/Migrations/20200105150407_Initialize.cs b/Timeline/Migrations/20200105150407_Initialize.cs index 2881ee64..4e12ef83 100644 --- a/Timeline/Migrations/20200105150407_Initialize.cs +++ b/Timeline/Migrations/20200105150407_Initialize.cs @@ -13,7 +13,7 @@ namespace Timeline.Migrations { id = table.Column(nullable: false) .Annotation("Sqlite:Autoincrement", true), - name = table.Column(maxLength: 26, nullable: false), + name = table.Column(nullable: false), password = table.Column(nullable: false), roles = table.Column(nullable: false), version = table.Column(nullable: false, defaultValue: 0L) @@ -55,7 +55,7 @@ namespace Timeline.Migrations .Annotation("Sqlite:Autoincrement", true), data = table.Column(nullable: true), type = table.Column(nullable: true), - etag = table.Column(maxLength: 30, nullable: true), + etag = table.Column(nullable: true), last_modified = table.Column(nullable: false), UserId = table.Column(nullable: false) }, @@ -76,7 +76,7 @@ namespace Timeline.Migrations { id = table.Column(nullable: false) .Annotation("Sqlite:Autoincrement", true), - nickname = table.Column(maxLength: 26, nullable: true), + nickname = table.Column(nullable: true), UserId = table.Column(nullable: false) }, constraints: table => -- cgit v1.2.3