mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Change ChannelId and OwnerId to be expected strings
This commit is contained in:
parent
07ed9a3ea4
commit
a3ae055779
@ -645,9 +645,9 @@ public class MigrateLibraryDb : IMigrationRoutine
|
|||||||
entity.EndDate = endDate;
|
entity.EndDate = endDate;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reader.TryGetGuid(index++, out var guid))
|
if (reader.TryGetString(index++, out var guid))
|
||||||
{
|
{
|
||||||
entity.ChannelId = guid.ToString("N");
|
entity.ChannelId = guid;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reader.TryGetBoolean(index++, out var isMovie))
|
if (reader.TryGetBoolean(index++, out var isMovie))
|
||||||
@ -986,9 +986,9 @@ public class MigrateLibraryDb : IMigrationRoutine
|
|||||||
entity.ShowId = showId;
|
entity.ShowId = showId;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (reader.TryGetGuid(index++, out var ownerId))
|
if (reader.TryGetString(index++, out var ownerId))
|
||||||
{
|
{
|
||||||
entity.OwnerId = ownerId.ToString("N");
|
entity.OwnerId = ownerId;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (entity, userDataKey);
|
return (entity, userDataKey);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user