Added a ValueType concept for Settings. Currently unused but planned to assist with editing settings from chat.

This commit is contained in:
barelyprofessional
2025-02-08 23:41:55 +08:00
parent f1e01be74d
commit 01847c5d3c
4 changed files with 143 additions and 60 deletions

View File

@@ -15,7 +15,7 @@ namespace KfChatDotNetBot.Migrations
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder.HasAnnotation("ProductVersion", "8.0.7");
modelBuilder.HasAnnotation("ProductVersion", "9.0.1");
modelBuilder.Entity("KfChatDotNetBot.Models.DbModels.ChipsggBetDbModel", b =>
{
@@ -194,6 +194,9 @@ namespace KfChatDotNetBot.Migrations
b.Property<string>("Value")
.HasColumnType("TEXT");
b.Property<int>("ValueType")
.HasColumnType("INTEGER");
b.HasKey("Id");
b.ToTable("Settings");