mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
Fix user option values on .NET 5+
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user