aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
diff options
context:
space:
mode:
authorJPVenson <6794763+JPVenson@users.noreply.github.com>2024-10-09 11:22:52 +0000
committerJPVenson <6794763+JPVenson@users.noreply.github.com>2024-10-09 11:22:52 +0000
commitc2844bda3b7605257d7b2f8d146077cea6dd0b08 (patch)
tree75f31171179ea555c13bc47973e0289ee5685abd /Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
parent3dc402433870ba3dcd0f0c9f282ea96538e43c8b (diff)
Added EF BaseItem migration
Diffstat (limited to 'Jellyfin.Server.Implementations/Item/BaseItemRepository.cs')
-rw-r--r--Jellyfin.Server.Implementations/Item/BaseItemRepository.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
index a3e617a21..d5a1be679 100644
--- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
+++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
@@ -1259,7 +1259,8 @@ public sealed class BaseItemRepository(IDbContextFactory<JellyfinDbContext> dbPr
{
Item = entity,
AncestorIdText = ancestorId.ToString(),
- Id = ancestorId
+ Id = ancestorId,
+ ItemId = entity.Id
});
}
}
@@ -1273,7 +1274,8 @@ public sealed class BaseItemRepository(IDbContextFactory<JellyfinDbContext> dbPr
Item = entity,
Type = itemValue.MagicNumber,
Value = itemValue.Value,
- CleanValue = GetCleanValue(itemValue.Value)
+ CleanValue = GetCleanValue(itemValue.Value),
+ ItemId = entity.Id
});
}
}