Added EF BaseItem migration

This commit is contained in:
JPVenson
2024-10-09 11:22:52 +00:00
parent 3dc4024338
commit c2844bda3b
13 changed files with 2780 additions and 24 deletions

View File

@@ -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
});
}
}