aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs
diff options
context:
space:
mode:
authorJPVenson <github@jpb.email>2024-11-11 17:39:50 +0000
committerJPVenson <github@jpb.email>2024-11-11 17:39:50 +0000
commit508b27f15643dc04d0ca1dda92a3b18bdeb43a5a (patch)
treee45283c63b0bd16d3e1cc8eed9c3e765a995fbf7 /Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs
parentbdab5e549eb158a9a58161e73cd0ef988ae37599 (diff)
Fixed Duplicate returns on grouping
Fixed UserDataKey not stored
Diffstat (limited to 'Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs')
-rw-r--r--Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs b/Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs
index 6a9d9a55a..f3424434d 100644
--- a/Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs
+++ b/Jellyfin.Server.Implementations/Migrations/JellyfinDbModelSnapshot.cs
@@ -1276,6 +1276,9 @@ namespace Jellyfin.Server.Implementations.Migrations
b.Property<Guid>("UserId")
.HasColumnType("TEXT");
+ b.Property<string>("CustomDataKey")
+ .HasColumnType("TEXT");
+
b.Property<int?>("AudioStreamIndex")
.HasColumnType("INTEGER");
@@ -1303,7 +1306,7 @@ namespace Jellyfin.Server.Implementations.Migrations
b.Property<int?>("SubtitleStreamIndex")
.HasColumnType("INTEGER");
- b.HasKey("ItemId", "UserId");
+ b.HasKey("ItemId", "UserId", "CustomDataKey");
b.HasIndex("UserId");