86883cd5c6
- Refactor migrations and provider to use multiple PostgreSQL schemas, each matching a legacy SQLite database (activitylog, authentication, displaypreferences, library, users). - All tables, foreign keys, and indexes are now schema-qualified; Down migration drops tables by schema. - Provider ensures schemas exist before migrations; entities are mapped to correct schemas in OnModelCreating. - Add support for max-pool-size, min-pool-size, and multiplexing connection options; update logging accordingly. - VACUUM ANALYZE now runs per schema during scheduled optimization. - TruncateAllTablesAsync now truncates tables with schema qualification. - README updated with schema structure, new options, and multiplexing warnings. - CacheDecorator now calls async repository methods using .GetAwaiter().GetResult(), with documentation. - Lays groundwork for full async/await and multiplexing support in the database layer.
69 lines
2.8 KiB
XML
69 lines
2.8 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<!-- ProjectGuid is only included as a requirement for SonarQube analysis -->
|
|
<PropertyGroup>
|
|
<ProjectGuid>{E5AF7B26-2239-4CE0-B477-0AA2018EDAA2}</ProjectGuid>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup>
|
|
<TargetFramework>net11.0</TargetFramework>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
|
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
|
<IncludeSymbols>true</IncludeSymbols>
|
|
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<CodeAnalysisTreatWarningsAsErrors>false</CodeAnalysisTreatWarningsAsErrors>
|
|
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
|
<WarningsAsErrors></WarningsAsErrors>
|
|
<EnforceCodeStyleInBuild>false</EnforceCodeStyleInBuild>
|
|
<NoWarn>$(NoWarn);IDE0065</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition=" '$(Stability)'=='Unstable'">
|
|
<!-- Include all symbols in the main nupkg until Azure Artifact Feed starts supporting ingesting NuGet symbol packages. -->
|
|
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="../SharedVersion.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="../MediaBrowser.Common/MediaBrowser.Common.csproj" />
|
|
<ProjectReference Include="../MediaBrowser.Model/MediaBrowser.Model.csproj" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<Authors>Jellyfin Contributors</Authors>
|
|
<PackageId>Jellyfin.Naming</PackageId>
|
|
<VersionPrefix>10.12.0</VersionPrefix>
|
|
<RepositoryUrl>https://github.com/jellyfin/jellyfin</RepositoryUrl>
|
|
<PackageLicenseExpression>GPL-3.0-only</PackageLicenseExpression>
|
|
</PropertyGroup>
|
|
|
|
<!-- Code Analyzers -->
|
|
<ItemGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<PackageReference Include="IDisposableAnalyzers">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Jellyfin.Sdk" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.BannedApiAnalyzers">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="SerilogAnalyzer" PrivateAssets="All" />
|
|
<PackageReference Include="StyleCop.Analyzers" PrivateAssets="All" />
|
|
<PackageReference Include="SmartAnalyzers.MultithreadingAnalyzer" PrivateAssets="All" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup>
|
|
<NoWarn>$(NoWarn);NETSDK1057</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
</Project>
|