| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592 | // <auto-generated />using System;using Jellyfin.Server.Implementations;using Microsoft.EntityFrameworkCore;using Microsoft.EntityFrameworkCore.Infrastructure;using Microsoft.EntityFrameworkCore.Storage.ValueConversion;#nullable disablenamespace Jellyfin.Server.Implementations.Migrations{    [DbContext(typeof(JellyfinDbContext))]    partial class JellyfinDbModelSnapshot : ModelSnapshot    {        protected override void BuildModel(ModelBuilder modelBuilder)        {#pragma warning disable 612, 618            modelBuilder.HasAnnotation("ProductVersion", "9.0.1");            modelBuilder.Entity("Jellyfin.Data.Entities.AccessSchedule", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<int>("DayOfWeek")                        .HasColumnType("INTEGER");                    b.Property<double>("EndHour")                        .HasColumnType("REAL");                    b.Property<double>("StartHour")                        .HasColumnType("REAL");                    b.Property<Guid>("UserId")                        .HasColumnType("TEXT");                    b.HasKey("Id");                    b.HasIndex("UserId");                    b.ToTable("AccessSchedules");                });            modelBuilder.Entity("Jellyfin.Data.Entities.ActivityLog", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<DateTime>("DateCreated")                        .HasColumnType("TEXT");                    b.Property<string>("ItemId")                        .HasMaxLength(256)                        .HasColumnType("TEXT");                    b.Property<int>("LogSeverity")                        .HasColumnType("INTEGER");                    b.Property<string>("Name")                        .IsRequired()                        .HasMaxLength(512)                        .HasColumnType("TEXT");                    b.Property<string>("Overview")                        .HasMaxLength(512)                        .HasColumnType("TEXT");                    b.Property<uint>("RowVersion")                        .IsConcurrencyToken()                        .HasColumnType("INTEGER");                    b.Property<string>("ShortOverview")                        .HasMaxLength(512)                        .HasColumnType("TEXT");                    b.Property<string>("Type")                        .IsRequired()                        .HasMaxLength(256)                        .HasColumnType("TEXT");                    b.Property<Guid>("UserId")                        .HasColumnType("TEXT");                    b.HasKey("Id");                    b.HasIndex("DateCreated");                    b.ToTable("ActivityLogs");                });            modelBuilder.Entity("Jellyfin.Data.Entities.AncestorId", b =>                {                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<Guid>("ParentItemId")                        .HasColumnType("TEXT");                    b.HasKey("ItemId", "ParentItemId");                    b.HasIndex("ParentItemId");                    b.ToTable("AncestorIds");                });            modelBuilder.Entity("Jellyfin.Data.Entities.AttachmentStreamInfo", b =>                {                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<int>("Index")                        .HasColumnType("INTEGER");                    b.Property<string>("Codec")                        .IsRequired()                        .HasColumnType("TEXT");                    b.Property<string>("CodecTag")                        .HasColumnType("TEXT");                    b.Property<string>("Comment")                        .HasColumnType("TEXT");                    b.Property<string>("Filename")                        .HasColumnType("TEXT");                    b.Property<string>("MimeType")                        .HasColumnType("TEXT");                    b.HasKey("ItemId", "Index");                    b.ToTable("AttachmentStreamInfos");                });            modelBuilder.Entity("Jellyfin.Data.Entities.BaseItemEntity", b =>                {                    b.Property<Guid>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("TEXT");                    b.Property<string>("Album")                        .HasColumnType("TEXT");                    b.Property<string>("AlbumArtists")                        .HasColumnType("TEXT");                    b.Property<string>("Artists")                        .HasColumnType("TEXT");                    b.Property<int?>("Audio")                        .HasColumnType("INTEGER");                    b.Property<string>("ChannelId")                        .HasColumnType("TEXT");                    b.Property<string>("CleanName")                        .HasColumnType("TEXT");                    b.Property<float?>("CommunityRating")                        .HasColumnType("REAL");                    b.Property<float?>("CriticRating")                        .HasColumnType("REAL");                    b.Property<string>("CustomRating")                        .HasColumnType("TEXT");                    b.Property<string>("Data")                        .HasColumnType("TEXT");                    b.Property<DateTime?>("DateCreated")                        .HasColumnType("TEXT");                    b.Property<DateTime?>("DateLastMediaAdded")                        .HasColumnType("TEXT");                    b.Property<DateTime?>("DateLastRefreshed")                        .HasColumnType("TEXT");                    b.Property<DateTime?>("DateLastSaved")                        .HasColumnType("TEXT");                    b.Property<DateTime?>("DateModified")                        .HasColumnType("TEXT");                    b.Property<DateTime?>("EndDate")                        .HasColumnType("TEXT");                    b.Property<string>("EpisodeTitle")                        .HasColumnType("TEXT");                    b.Property<string>("ExternalId")                        .HasColumnType("TEXT");                    b.Property<string>("ExternalSeriesId")                        .HasColumnType("TEXT");                    b.Property<string>("ExternalServiceId")                        .HasColumnType("TEXT");                    b.Property<string>("ExtraIds")                        .HasColumnType("TEXT");                    b.Property<int?>("ExtraType")                        .HasColumnType("INTEGER");                    b.Property<string>("ForcedSortName")                        .HasColumnType("TEXT");                    b.Property<string>("Genres")                        .HasColumnType("TEXT");                    b.Property<int?>("Height")                        .HasColumnType("INTEGER");                    b.Property<int?>("IndexNumber")                        .HasColumnType("INTEGER");                    b.Property<int?>("InheritedParentalRatingValue")                        .HasColumnType("INTEGER");                    b.Property<bool>("IsFolder")                        .HasColumnType("INTEGER");                    b.Property<bool>("IsInMixedFolder")                        .HasColumnType("INTEGER");                    b.Property<bool>("IsLocked")                        .HasColumnType("INTEGER");                    b.Property<bool>("IsMovie")                        .HasColumnType("INTEGER");                    b.Property<bool>("IsRepeat")                        .HasColumnType("INTEGER");                    b.Property<bool>("IsSeries")                        .HasColumnType("INTEGER");                    b.Property<bool>("IsVirtualItem")                        .HasColumnType("INTEGER");                    b.Property<float?>("LUFS")                        .HasColumnType("REAL");                    b.Property<string>("MediaType")                        .HasColumnType("TEXT");                    b.Property<string>("Name")                        .HasColumnType("TEXT");                    b.Property<float?>("NormalizationGain")                        .HasColumnType("REAL");                    b.Property<string>("OfficialRating")                        .HasColumnType("TEXT");                    b.Property<string>("OriginalTitle")                        .HasColumnType("TEXT");                    b.Property<string>("Overview")                        .HasColumnType("TEXT");                    b.Property<string>("OwnerId")                        .HasColumnType("TEXT");                    b.Property<Guid?>("ParentId")                        .HasColumnType("TEXT");                    b.Property<int?>("ParentIndexNumber")                        .HasColumnType("INTEGER");                    b.Property<string>("Path")                        .HasColumnType("TEXT");                    b.Property<string>("PreferredMetadataCountryCode")                        .HasColumnType("TEXT");                    b.Property<string>("PreferredMetadataLanguage")                        .HasColumnType("TEXT");                    b.Property<DateTime?>("PremiereDate")                        .HasColumnType("TEXT");                    b.Property<string>("PresentationUniqueKey")                        .HasColumnType("TEXT");                    b.Property<string>("PrimaryVersionId")                        .HasColumnType("TEXT");                    b.Property<string>("ProductionLocations")                        .HasColumnType("TEXT");                    b.Property<int?>("ProductionYear")                        .HasColumnType("INTEGER");                    b.Property<long?>("RunTimeTicks")                        .HasColumnType("INTEGER");                    b.Property<Guid?>("SeasonId")                        .HasColumnType("TEXT");                    b.Property<string>("SeasonName")                        .HasColumnType("TEXT");                    b.Property<Guid?>("SeriesId")                        .HasColumnType("TEXT");                    b.Property<string>("SeriesName")                        .HasColumnType("TEXT");                    b.Property<string>("SeriesPresentationUniqueKey")                        .HasColumnType("TEXT");                    b.Property<string>("ShowId")                        .HasColumnType("TEXT");                    b.Property<long?>("Size")                        .HasColumnType("INTEGER");                    b.Property<string>("SortName")                        .HasColumnType("TEXT");                    b.Property<DateTime?>("StartDate")                        .HasColumnType("TEXT");                    b.Property<string>("Studios")                        .HasColumnType("TEXT");                    b.Property<string>("Tagline")                        .HasColumnType("TEXT");                    b.Property<string>("Tags")                        .HasColumnType("TEXT");                    b.Property<Guid?>("TopParentId")                        .HasColumnType("TEXT");                    b.Property<int?>("TotalBitrate")                        .HasColumnType("INTEGER");                    b.Property<string>("Type")                        .IsRequired()                        .HasColumnType("TEXT");                    b.Property<string>("UnratedType")                        .HasColumnType("TEXT");                    b.Property<int?>("Width")                        .HasColumnType("INTEGER");                    b.HasKey("Id");                    b.HasIndex("ParentId");                    b.HasIndex("Path");                    b.HasIndex("PresentationUniqueKey");                    b.HasIndex("TopParentId", "Id");                    b.HasIndex("Type", "TopParentId", "Id");                    b.HasIndex("Type", "TopParentId", "PresentationUniqueKey");                    b.HasIndex("Type", "TopParentId", "StartDate");                    b.HasIndex("Id", "Type", "IsFolder", "IsVirtualItem");                    b.HasIndex("MediaType", "TopParentId", "IsVirtualItem", "PresentationUniqueKey");                    b.HasIndex("Type", "SeriesPresentationUniqueKey", "IsFolder", "IsVirtualItem");                    b.HasIndex("Type", "SeriesPresentationUniqueKey", "PresentationUniqueKey", "SortName");                    b.HasIndex("IsFolder", "TopParentId", "IsVirtualItem", "PresentationUniqueKey", "DateCreated");                    b.HasIndex("Type", "TopParentId", "IsVirtualItem", "PresentationUniqueKey", "DateCreated");                    b.ToTable("BaseItems");                });            modelBuilder.Entity("Jellyfin.Data.Entities.BaseItemImageInfo", b =>                {                    b.Property<Guid>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("TEXT");                    b.Property<byte[]>("Blurhash")                        .HasColumnType("BLOB");                    b.Property<DateTime>("DateModified")                        .HasColumnType("TEXT");                    b.Property<int>("Height")                        .HasColumnType("INTEGER");                    b.Property<int>("ImageType")                        .HasColumnType("INTEGER");                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<string>("Path")                        .IsRequired()                        .HasColumnType("TEXT");                    b.Property<int>("Width")                        .HasColumnType("INTEGER");                    b.HasKey("Id");                    b.HasIndex("ItemId");                    b.ToTable("BaseItemImageInfos");                });            modelBuilder.Entity("Jellyfin.Data.Entities.BaseItemMetadataField", b =>                {                    b.Property<int>("Id")                        .HasColumnType("INTEGER");                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.HasKey("Id", "ItemId");                    b.HasIndex("ItemId");                    b.ToTable("BaseItemMetadataFields");                });            modelBuilder.Entity("Jellyfin.Data.Entities.BaseItemProvider", b =>                {                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<string>("ProviderId")                        .HasColumnType("TEXT");                    b.Property<string>("ProviderValue")                        .IsRequired()                        .HasColumnType("TEXT");                    b.HasKey("ItemId", "ProviderId");                    b.HasIndex("ProviderId", "ProviderValue", "ItemId");                    b.ToTable("BaseItemProviders");                });            modelBuilder.Entity("Jellyfin.Data.Entities.BaseItemTrailerType", b =>                {                    b.Property<int>("Id")                        .HasColumnType("INTEGER");                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.HasKey("Id", "ItemId");                    b.HasIndex("ItemId");                    b.ToTable("BaseItemTrailerTypes");                });            modelBuilder.Entity("Jellyfin.Data.Entities.Chapter", b =>                {                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<int>("ChapterIndex")                        .HasColumnType("INTEGER");                    b.Property<DateTime?>("ImageDateModified")                        .HasColumnType("TEXT");                    b.Property<string>("ImagePath")                        .HasColumnType("TEXT");                    b.Property<string>("Name")                        .HasColumnType("TEXT");                    b.Property<long>("StartPositionTicks")                        .HasColumnType("INTEGER");                    b.HasKey("ItemId", "ChapterIndex");                    b.ToTable("Chapters");                });            modelBuilder.Entity("Jellyfin.Data.Entities.CustomItemDisplayPreferences", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<string>("Client")                        .IsRequired()                        .HasMaxLength(32)                        .HasColumnType("TEXT");                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<string>("Key")                        .IsRequired()                        .HasColumnType("TEXT");                    b.Property<Guid>("UserId")                        .HasColumnType("TEXT");                    b.Property<string>("Value")                        .HasColumnType("TEXT");                    b.HasKey("Id");                    b.HasIndex("UserId", "ItemId", "Client", "Key")                        .IsUnique();                    b.ToTable("CustomItemDisplayPreferences");                });            modelBuilder.Entity("Jellyfin.Data.Entities.DisplayPreferences", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<int>("ChromecastVersion")                        .HasColumnType("INTEGER");                    b.Property<string>("Client")                        .IsRequired()                        .HasMaxLength(32)                        .HasColumnType("TEXT");                    b.Property<string>("DashboardTheme")                        .HasMaxLength(32)                        .HasColumnType("TEXT");                    b.Property<bool>("EnableNextVideoInfoOverlay")                        .HasColumnType("INTEGER");                    b.Property<int?>("IndexBy")                        .HasColumnType("INTEGER");                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<int>("ScrollDirection")                        .HasColumnType("INTEGER");                    b.Property<bool>("ShowBackdrop")                        .HasColumnType("INTEGER");                    b.Property<bool>("ShowSidebar")                        .HasColumnType("INTEGER");                    b.Property<int>("SkipBackwardLength")                        .HasColumnType("INTEGER");                    b.Property<int>("SkipForwardLength")                        .HasColumnType("INTEGER");                    b.Property<string>("TvHome")                        .HasMaxLength(32)                        .HasColumnType("TEXT");                    b.Property<Guid>("UserId")                        .HasColumnType("TEXT");                    b.HasKey("Id");                    b.HasIndex("UserId", "ItemId", "Client")                        .IsUnique();                    b.ToTable("DisplayPreferences");                });            modelBuilder.Entity("Jellyfin.Data.Entities.HomeSection", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<int>("DisplayPreferencesId")                        .HasColumnType("INTEGER");                    b.Property<int>("Order")                        .HasColumnType("INTEGER");                    b.Property<int>("Type")                        .HasColumnType("INTEGER");                    b.HasKey("Id");                    b.HasIndex("DisplayPreferencesId");                    b.ToTable("HomeSection");                });            modelBuilder.Entity("Jellyfin.Data.Entities.ImageInfo", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<DateTime>("LastModified")                        .HasColumnType("TEXT");                    b.Property<string>("Path")                        .IsRequired()                        .HasMaxLength(512)                        .HasColumnType("TEXT");                    b.Property<Guid?>("UserId")                        .HasColumnType("TEXT");                    b.HasKey("Id");                    b.HasIndex("UserId")                        .IsUnique();                    b.ToTable("ImageInfos");                });            modelBuilder.Entity("Jellyfin.Data.Entities.ItemDisplayPreferences", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<string>("Client")                        .IsRequired()                        .HasMaxLength(32)                        .HasColumnType("TEXT");                    b.Property<int?>("IndexBy")                        .HasColumnType("INTEGER");                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<bool>("RememberIndexing")                        .HasColumnType("INTEGER");                    b.Property<bool>("RememberSorting")                        .HasColumnType("INTEGER");                    b.Property<string>("SortBy")                        .IsRequired()                        .HasMaxLength(64)                        .HasColumnType("TEXT");                    b.Property<int>("SortOrder")                        .HasColumnType("INTEGER");                    b.Property<Guid>("UserId")                        .HasColumnType("TEXT");                    b.Property<int>("ViewType")                        .HasColumnType("INTEGER");                    b.HasKey("Id");                    b.HasIndex("UserId");                    b.ToTable("ItemDisplayPreferences");                });            modelBuilder.Entity("Jellyfin.Data.Entities.ItemValue", b =>                {                    b.Property<Guid>("ItemValueId")                        .ValueGeneratedOnAdd()                        .HasColumnType("TEXT");                    b.Property<string>("CleanValue")                        .IsRequired()                        .HasColumnType("TEXT");                    b.Property<int>("Type")                        .HasColumnType("INTEGER");                    b.Property<string>("Value")                        .IsRequired()                        .HasColumnType("TEXT");                    b.HasKey("ItemValueId");                    b.HasIndex("Type", "CleanValue")                        .IsUnique();                    b.ToTable("ItemValues");                });            modelBuilder.Entity("Jellyfin.Data.Entities.ItemValueMap", b =>                {                    b.Property<Guid>("ItemValueId")                        .HasColumnType("TEXT");                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.HasKey("ItemValueId", "ItemId");                    b.HasIndex("ItemId");                    b.ToTable("ItemValuesMap");                });            modelBuilder.Entity("Jellyfin.Data.Entities.MediaSegment", b =>                {                    b.Property<Guid>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("TEXT");                    b.Property<long>("EndTicks")                        .HasColumnType("INTEGER");                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<string>("SegmentProviderId")                        .IsRequired()                        .HasColumnType("TEXT");                    b.Property<long>("StartTicks")                        .HasColumnType("INTEGER");                    b.Property<int>("Type")                        .HasColumnType("INTEGER");                    b.HasKey("Id");                    b.ToTable("MediaSegments");                });            modelBuilder.Entity("Jellyfin.Data.Entities.MediaStreamInfo", b =>                {                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<int>("StreamIndex")                        .HasColumnType("INTEGER");                    b.Property<string>("AspectRatio")                        .HasColumnType("TEXT");                    b.Property<float?>("AverageFrameRate")                        .HasColumnType("REAL");                    b.Property<int?>("BitDepth")                        .HasColumnType("INTEGER");                    b.Property<int?>("BitRate")                        .HasColumnType("INTEGER");                    b.Property<int?>("BlPresentFlag")                        .HasColumnType("INTEGER");                    b.Property<string>("ChannelLayout")                        .HasColumnType("TEXT");                    b.Property<int?>("Channels")                        .HasColumnType("INTEGER");                    b.Property<string>("Codec")                        .HasColumnType("TEXT");                    b.Property<string>("CodecTag")                        .HasColumnType("TEXT");                    b.Property<string>("CodecTimeBase")                        .HasColumnType("TEXT");                    b.Property<string>("ColorPrimaries")                        .HasColumnType("TEXT");                    b.Property<string>("ColorSpace")                        .HasColumnType("TEXT");                    b.Property<string>("ColorTransfer")                        .HasColumnType("TEXT");                    b.Property<string>("Comment")                        .HasColumnType("TEXT");                    b.Property<int?>("DvBlSignalCompatibilityId")                        .HasColumnType("INTEGER");                    b.Property<int?>("DvLevel")                        .HasColumnType("INTEGER");                    b.Property<int?>("DvProfile")                        .HasColumnType("INTEGER");                    b.Property<int?>("DvVersionMajor")                        .HasColumnType("INTEGER");                    b.Property<int?>("DvVersionMinor")                        .HasColumnType("INTEGER");                    b.Property<int?>("ElPresentFlag")                        .HasColumnType("INTEGER");                    b.Property<int?>("Height")                        .HasColumnType("INTEGER");                    b.Property<bool?>("IsAnamorphic")                        .HasColumnType("INTEGER");                    b.Property<bool?>("IsAvc")                        .HasColumnType("INTEGER");                    b.Property<bool>("IsDefault")                        .HasColumnType("INTEGER");                    b.Property<bool>("IsExternal")                        .HasColumnType("INTEGER");                    b.Property<bool>("IsForced")                        .HasColumnType("INTEGER");                    b.Property<bool?>("IsHearingImpaired")                        .HasColumnType("INTEGER");                    b.Property<bool?>("IsInterlaced")                        .HasColumnType("INTEGER");                    b.Property<string>("KeyFrames")                        .HasColumnType("TEXT");                    b.Property<string>("Language")                        .HasColumnType("TEXT");                    b.Property<float?>("Level")                        .HasColumnType("REAL");                    b.Property<string>("NalLengthSize")                        .HasColumnType("TEXT");                    b.Property<string>("Path")                        .HasColumnType("TEXT");                    b.Property<string>("PixelFormat")                        .HasColumnType("TEXT");                    b.Property<string>("Profile")                        .HasColumnType("TEXT");                    b.Property<float?>("RealFrameRate")                        .HasColumnType("REAL");                    b.Property<int?>("RefFrames")                        .HasColumnType("INTEGER");                    b.Property<int?>("Rotation")                        .HasColumnType("INTEGER");                    b.Property<int?>("RpuPresentFlag")                        .HasColumnType("INTEGER");                    b.Property<int?>("SampleRate")                        .HasColumnType("INTEGER");                    b.Property<int>("StreamType")                        .HasColumnType("INTEGER");                    b.Property<string>("TimeBase")                        .HasColumnType("TEXT");                    b.Property<string>("Title")                        .HasColumnType("TEXT");                    b.Property<int?>("Width")                        .HasColumnType("INTEGER");                    b.HasKey("ItemId", "StreamIndex");                    b.HasIndex("StreamIndex");                    b.HasIndex("StreamType");                    b.HasIndex("StreamIndex", "StreamType");                    b.HasIndex("StreamIndex", "StreamType", "Language");                    b.ToTable("MediaStreamInfos");                });            modelBuilder.Entity("Jellyfin.Data.Entities.People", b =>                {                    b.Property<Guid>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("TEXT");                    b.Property<string>("Name")                        .IsRequired()                        .HasColumnType("TEXT");                    b.Property<string>("PersonType")                        .HasColumnType("TEXT");                    b.HasKey("Id");                    b.HasIndex("Name");                    b.ToTable("Peoples");                });            modelBuilder.Entity("Jellyfin.Data.Entities.PeopleBaseItemMap", b =>                {                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<Guid>("PeopleId")                        .HasColumnType("TEXT");                    b.Property<int?>("ListOrder")                        .HasColumnType("INTEGER");                    b.Property<string>("Role")                        .HasColumnType("TEXT");                    b.Property<int?>("SortOrder")                        .HasColumnType("INTEGER");                    b.HasKey("ItemId", "PeopleId");                    b.HasIndex("PeopleId");                    b.HasIndex("ItemId", "ListOrder");                    b.HasIndex("ItemId", "SortOrder");                    b.ToTable("PeopleBaseItemMap");                });            modelBuilder.Entity("Jellyfin.Data.Entities.Permission", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<int>("Kind")                        .HasColumnType("INTEGER");                    b.Property<Guid?>("Permission_Permissions_Guid")                        .HasColumnType("TEXT");                    b.Property<uint>("RowVersion")                        .IsConcurrencyToken()                        .HasColumnType("INTEGER");                    b.Property<Guid?>("UserId")                        .HasColumnType("TEXT");                    b.Property<bool>("Value")                        .HasColumnType("INTEGER");                    b.HasKey("Id");                    b.HasIndex("UserId", "Kind")                        .IsUnique()                        .HasFilter("[UserId] IS NOT NULL");                    b.ToTable("Permissions");                });            modelBuilder.Entity("Jellyfin.Data.Entities.Preference", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<int>("Kind")                        .HasColumnType("INTEGER");                    b.Property<Guid?>("Preference_Preferences_Guid")                        .HasColumnType("TEXT");                    b.Property<uint>("RowVersion")                        .IsConcurrencyToken()                        .HasColumnType("INTEGER");                    b.Property<Guid?>("UserId")                        .HasColumnType("TEXT");                    b.Property<string>("Value")                        .IsRequired()                        .HasMaxLength(65535)                        .HasColumnType("TEXT");                    b.HasKey("Id");                    b.HasIndex("UserId", "Kind")                        .IsUnique()                        .HasFilter("[UserId] IS NOT NULL");                    b.ToTable("Preferences");                });            modelBuilder.Entity("Jellyfin.Data.Entities.Security.ApiKey", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<string>("AccessToken")                        .IsRequired()                        .HasColumnType("TEXT");                    b.Property<DateTime>("DateCreated")                        .HasColumnType("TEXT");                    b.Property<DateTime>("DateLastActivity")                        .HasColumnType("TEXT");                    b.Property<string>("Name")                        .IsRequired()                        .HasMaxLength(64)                        .HasColumnType("TEXT");                    b.HasKey("Id");                    b.HasIndex("AccessToken")                        .IsUnique();                    b.ToTable("ApiKeys");                });            modelBuilder.Entity("Jellyfin.Data.Entities.Security.Device", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<string>("AccessToken")                        .IsRequired()                        .HasColumnType("TEXT");                    b.Property<string>("AppName")                        .IsRequired()                        .HasMaxLength(64)                        .HasColumnType("TEXT");                    b.Property<string>("AppVersion")                        .IsRequired()                        .HasMaxLength(32)                        .HasColumnType("TEXT");                    b.Property<DateTime>("DateCreated")                        .HasColumnType("TEXT");                    b.Property<DateTime>("DateLastActivity")                        .HasColumnType("TEXT");                    b.Property<DateTime>("DateModified")                        .HasColumnType("TEXT");                    b.Property<string>("DeviceId")                        .IsRequired()                        .HasMaxLength(256)                        .HasColumnType("TEXT");                    b.Property<string>("DeviceName")                        .IsRequired()                        .HasMaxLength(64)                        .HasColumnType("TEXT");                    b.Property<bool>("IsActive")                        .HasColumnType("INTEGER");                    b.Property<Guid>("UserId")                        .HasColumnType("TEXT");                    b.HasKey("Id");                    b.HasIndex("DeviceId");                    b.HasIndex("AccessToken", "DateLastActivity");                    b.HasIndex("DeviceId", "DateLastActivity");                    b.HasIndex("UserId", "DeviceId");                    b.ToTable("Devices");                });            modelBuilder.Entity("Jellyfin.Data.Entities.Security.DeviceOptions", b =>                {                    b.Property<int>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("INTEGER");                    b.Property<string>("CustomName")                        .HasColumnType("TEXT");                    b.Property<string>("DeviceId")                        .IsRequired()                        .HasColumnType("TEXT");                    b.HasKey("Id");                    b.HasIndex("DeviceId")                        .IsUnique();                    b.ToTable("DeviceOptions");                });            modelBuilder.Entity("Jellyfin.Data.Entities.TrickplayInfo", b =>                {                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<int>("Width")                        .HasColumnType("INTEGER");                    b.Property<int>("Bandwidth")                        .HasColumnType("INTEGER");                    b.Property<int>("Height")                        .HasColumnType("INTEGER");                    b.Property<int>("Interval")                        .HasColumnType("INTEGER");                    b.Property<int>("ThumbnailCount")                        .HasColumnType("INTEGER");                    b.Property<int>("TileHeight")                        .HasColumnType("INTEGER");                    b.Property<int>("TileWidth")                        .HasColumnType("INTEGER");                    b.HasKey("ItemId", "Width");                    b.ToTable("TrickplayInfos");                });            modelBuilder.Entity("Jellyfin.Data.Entities.User", b =>                {                    b.Property<Guid>("Id")                        .ValueGeneratedOnAdd()                        .HasColumnType("TEXT");                    b.Property<string>("AudioLanguagePreference")                        .HasMaxLength(255)                        .HasColumnType("TEXT");                    b.Property<string>("AuthenticationProviderId")                        .IsRequired()                        .HasMaxLength(255)                        .HasColumnType("TEXT");                    b.Property<string>("CastReceiverId")                        .HasMaxLength(32)                        .HasColumnType("TEXT");                    b.Property<bool>("DisplayCollectionsView")                        .HasColumnType("INTEGER");                    b.Property<bool>("DisplayMissingEpisodes")                        .HasColumnType("INTEGER");                    b.Property<bool>("EnableAutoLogin")                        .HasColumnType("INTEGER");                    b.Property<bool>("EnableLocalPassword")                        .HasColumnType("INTEGER");                    b.Property<bool>("EnableNextEpisodeAutoPlay")                        .HasColumnType("INTEGER");                    b.Property<bool>("EnableUserPreferenceAccess")                        .HasColumnType("INTEGER");                    b.Property<bool>("HidePlayedInLatest")                        .HasColumnType("INTEGER");                    b.Property<long>("InternalId")                        .HasColumnType("INTEGER");                    b.Property<int>("InvalidLoginAttemptCount")                        .HasColumnType("INTEGER");                    b.Property<DateTime?>("LastActivityDate")                        .HasColumnType("TEXT");                    b.Property<DateTime?>("LastLoginDate")                        .HasColumnType("TEXT");                    b.Property<int?>("LoginAttemptsBeforeLockout")                        .HasColumnType("INTEGER");                    b.Property<int>("MaxActiveSessions")                        .HasColumnType("INTEGER");                    b.Property<int?>("MaxParentalAgeRating")                        .HasColumnType("INTEGER");                    b.Property<bool>("MustUpdatePassword")                        .HasColumnType("INTEGER");                    b.Property<string>("Password")                        .HasMaxLength(65535)                        .HasColumnType("TEXT");                    b.Property<string>("PasswordResetProviderId")                        .IsRequired()                        .HasMaxLength(255)                        .HasColumnType("TEXT");                    b.Property<bool>("PlayDefaultAudioTrack")                        .HasColumnType("INTEGER");                    b.Property<bool>("RememberAudioSelections")                        .HasColumnType("INTEGER");                    b.Property<bool>("RememberSubtitleSelections")                        .HasColumnType("INTEGER");                    b.Property<int?>("RemoteClientBitrateLimit")                        .HasColumnType("INTEGER");                    b.Property<uint>("RowVersion")                        .IsConcurrencyToken()                        .HasColumnType("INTEGER");                    b.Property<string>("SubtitleLanguagePreference")                        .HasMaxLength(255)                        .HasColumnType("TEXT");                    b.Property<int>("SubtitleMode")                        .HasColumnType("INTEGER");                    b.Property<int>("SyncPlayAccess")                        .HasColumnType("INTEGER");                    b.Property<string>("Username")                        .IsRequired()                        .HasMaxLength(255)                        .HasColumnType("TEXT")                        .UseCollation("NOCASE");                    b.HasKey("Id");                    b.HasIndex("Username")                        .IsUnique();                    b.ToTable("Users");                });            modelBuilder.Entity("Jellyfin.Data.Entities.UserData", b =>                {                    b.Property<Guid>("ItemId")                        .HasColumnType("TEXT");                    b.Property<Guid>("UserId")                        .HasColumnType("TEXT");                    b.Property<string>("CustomDataKey")                        .HasColumnType("TEXT");                    b.Property<int?>("AudioStreamIndex")                        .HasColumnType("INTEGER");                    b.Property<bool>("IsFavorite")                        .HasColumnType("INTEGER");                    b.Property<DateTime?>("LastPlayedDate")                        .HasColumnType("TEXT");                    b.Property<bool?>("Likes")                        .HasColumnType("INTEGER");                    b.Property<int>("PlayCount")                        .HasColumnType("INTEGER");                    b.Property<long>("PlaybackPositionTicks")                        .HasColumnType("INTEGER");                    b.Property<bool>("Played")                        .HasColumnType("INTEGER");                    b.Property<double?>("Rating")                        .HasColumnType("REAL");                    b.Property<int?>("SubtitleStreamIndex")                        .HasColumnType("INTEGER");                    b.HasKey("ItemId", "UserId", "CustomDataKey");                    b.HasIndex("UserId");                    b.HasIndex("ItemId", "UserId", "IsFavorite");                    b.HasIndex("ItemId", "UserId", "LastPlayedDate");                    b.HasIndex("ItemId", "UserId", "PlaybackPositionTicks");                    b.HasIndex("ItemId", "UserId", "Played");                    b.ToTable("UserData");                });            modelBuilder.Entity("Jellyfin.Data.Entities.AccessSchedule", b =>                {                    b.HasOne("Jellyfin.Data.Entities.User", null)                        .WithMany("AccessSchedules")                        .HasForeignKey("UserId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                });            modelBuilder.Entity("Jellyfin.Data.Entities.AncestorId", b =>                {                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "Item")                        .WithMany("Children")                        .HasForeignKey("ItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "ParentItem")                        .WithMany("ParentAncestors")                        .HasForeignKey("ParentItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("Item");                    b.Navigation("ParentItem");                });            modelBuilder.Entity("Jellyfin.Data.Entities.AttachmentStreamInfo", b =>                {                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "Item")                        .WithMany()                        .HasForeignKey("ItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("Item");                });            modelBuilder.Entity("Jellyfin.Data.Entities.BaseItemImageInfo", b =>                {                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "Item")                        .WithMany("Images")                        .HasForeignKey("ItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("Item");                });            modelBuilder.Entity("Jellyfin.Data.Entities.BaseItemMetadataField", b =>                {                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "Item")                        .WithMany("LockedFields")                        .HasForeignKey("ItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("Item");                });            modelBuilder.Entity("Jellyfin.Data.Entities.BaseItemProvider", b =>                {                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "Item")                        .WithMany("Provider")                        .HasForeignKey("ItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("Item");                });            modelBuilder.Entity("Jellyfin.Data.Entities.BaseItemTrailerType", b =>                {                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "Item")                        .WithMany("TrailerTypes")                        .HasForeignKey("ItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("Item");                });            modelBuilder.Entity("Jellyfin.Data.Entities.Chapter", b =>                {                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "Item")                        .WithMany("Chapters")                        .HasForeignKey("ItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("Item");                });            modelBuilder.Entity("Jellyfin.Data.Entities.DisplayPreferences", b =>                {                    b.HasOne("Jellyfin.Data.Entities.User", null)                        .WithMany("DisplayPreferences")                        .HasForeignKey("UserId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                });            modelBuilder.Entity("Jellyfin.Data.Entities.HomeSection", b =>                {                    b.HasOne("Jellyfin.Data.Entities.DisplayPreferences", null)                        .WithMany("HomeSections")                        .HasForeignKey("DisplayPreferencesId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                });            modelBuilder.Entity("Jellyfin.Data.Entities.ImageInfo", b =>                {                    b.HasOne("Jellyfin.Data.Entities.User", null)                        .WithOne("ProfileImage")                        .HasForeignKey("Jellyfin.Data.Entities.ImageInfo", "UserId")                        .OnDelete(DeleteBehavior.Cascade);                });            modelBuilder.Entity("Jellyfin.Data.Entities.ItemDisplayPreferences", b =>                {                    b.HasOne("Jellyfin.Data.Entities.User", null)                        .WithMany("ItemDisplayPreferences")                        .HasForeignKey("UserId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                });            modelBuilder.Entity("Jellyfin.Data.Entities.ItemValueMap", b =>                {                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "Item")                        .WithMany("ItemValues")                        .HasForeignKey("ItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.HasOne("Jellyfin.Data.Entities.ItemValue", "ItemValue")                        .WithMany("BaseItemsMap")                        .HasForeignKey("ItemValueId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("Item");                    b.Navigation("ItemValue");                });            modelBuilder.Entity("Jellyfin.Data.Entities.MediaStreamInfo", b =>                {                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "Item")                        .WithMany("MediaStreams")                        .HasForeignKey("ItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("Item");                });            modelBuilder.Entity("Jellyfin.Data.Entities.PeopleBaseItemMap", b =>                {                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "Item")                        .WithMany("Peoples")                        .HasForeignKey("ItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.HasOne("Jellyfin.Data.Entities.People", "People")                        .WithMany("BaseItems")                        .HasForeignKey("PeopleId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("Item");                    b.Navigation("People");                });            modelBuilder.Entity("Jellyfin.Data.Entities.Permission", b =>                {                    b.HasOne("Jellyfin.Data.Entities.User", null)                        .WithMany("Permissions")                        .HasForeignKey("UserId")                        .OnDelete(DeleteBehavior.Cascade);                });            modelBuilder.Entity("Jellyfin.Data.Entities.Preference", b =>                {                    b.HasOne("Jellyfin.Data.Entities.User", null)                        .WithMany("Preferences")                        .HasForeignKey("UserId")                        .OnDelete(DeleteBehavior.Cascade);                });            modelBuilder.Entity("Jellyfin.Data.Entities.Security.Device", b =>                {                    b.HasOne("Jellyfin.Data.Entities.User", "User")                        .WithMany()                        .HasForeignKey("UserId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("User");                });            modelBuilder.Entity("Jellyfin.Data.Entities.UserData", b =>                {                    b.HasOne("Jellyfin.Data.Entities.BaseItemEntity", "Item")                        .WithMany("UserData")                        .HasForeignKey("ItemId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.HasOne("Jellyfin.Data.Entities.User", "User")                        .WithMany()                        .HasForeignKey("UserId")                        .OnDelete(DeleteBehavior.Cascade)                        .IsRequired();                    b.Navigation("Item");                    b.Navigation("User");                });            modelBuilder.Entity("Jellyfin.Data.Entities.BaseItemEntity", b =>                {                    b.Navigation("Chapters");                    b.Navigation("Children");                    b.Navigation("Images");                    b.Navigation("ItemValues");                    b.Navigation("LockedFields");                    b.Navigation("MediaStreams");                    b.Navigation("ParentAncestors");                    b.Navigation("Peoples");                    b.Navigation("Provider");                    b.Navigation("TrailerTypes");                    b.Navigation("UserData");                });            modelBuilder.Entity("Jellyfin.Data.Entities.DisplayPreferences", b =>                {                    b.Navigation("HomeSections");                });            modelBuilder.Entity("Jellyfin.Data.Entities.ItemValue", b =>                {                    b.Navigation("BaseItemsMap");                });            modelBuilder.Entity("Jellyfin.Data.Entities.People", b =>                {                    b.Navigation("BaseItems");                });            modelBuilder.Entity("Jellyfin.Data.Entities.User", b =>                {                    b.Navigation("AccessSchedules");                    b.Navigation("DisplayPreferences");                    b.Navigation("ItemDisplayPreferences");                    b.Navigation("Permissions");                    b.Navigation("Preferences");                    b.Navigation("ProfileImage");                });#pragma warning restore 612, 618        }    }}
 |