Fix user option values on .NET 5+

This commit is contained in:
2021-12-25 23:52:09 +04:00
parent 4807296992
commit 5f93d60277
6 changed files with 145 additions and 25 deletions
+5 -2
View File
@@ -26,8 +26,8 @@ namespace Kruzya.TelegramBot.Core.Migrations
b.Property<long>("ChatId")
.HasColumnType("bigint");
b.Property<int>("UserId")
.HasColumnType("int");
b.Property<long>("UserId")
.HasColumnType("bigint");
b.HasKey("BotUserId");
@@ -49,6 +49,9 @@ namespace Kruzya.TelegramBot.Core.Migrations
b.Property<byte[]>("Value")
.HasColumnType("longblob");
b.Property<string>("ValueType")
.HasColumnType("longtext CHARACTER SET utf8mb4");
b.HasKey("BotUserValueId");
b.HasIndex("BotUserId");