Updated settings service to support generic types with JSON serialization/deserialization, adjusted setup wizard checks and modified database schema for proper JSONB storage.

This commit is contained in:
2026-01-29 14:47:56 +01:00
parent 5b4959771c
commit 1f631be1c7
6 changed files with 331 additions and 28 deletions

View File

@@ -136,10 +136,10 @@ namespace Moonlight.Api.Database.Migrations
.HasMaxLength(256)
.HasColumnType("character varying(256)");
b.Property<string>("Value")
b.Property<string>("ValueJson")
.IsRequired()
.HasMaxLength(4096)
.HasColumnType("character varying(4096)");
.HasColumnType("jsonb");
b.HasKey("Id");