e68455f0ed
Multi-replica deployments cannot share a SQLite file, so the database has to move to a server engine before the rest of the HA work is usable. - add Jellyfin.Database.Providers.PostgreSQL with an EF Core Npgsql provider - register the provider and a pooled NpgsqlDataSource when DatabaseType is Jellyfin-PostgreSQL - accept postgresql:// URIs and POSTGRES_CONNECTION_STRING alongside CustomProviderOptions - add container-backed provider, CRUD, concurrency and migration tests
27 lines
1.1 KiB
XML
27 lines
1.1 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" />
|
|
<PackageReference Include="Microsoft.NET.Test.Sdk" />
|
|
<PackageReference Include="Npgsql" />
|
|
<PackageReference Include="Testcontainers.PostgreSql" />
|
|
<PackageReference Include="xunit.v3" />
|
|
<PackageReference Include="xunit.runner.visualstudio">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="coverlet.collector" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\..\src\Jellyfin.Database\Jellyfin.Database.Providers.PostgreSQL\Jellyfin.Database.Providers.PostgreSQL.csproj" />
|
|
<ProjectReference Include="..\..\src\Jellyfin.Database\Jellyfin.Database.Implementations\Jellyfin.Database.Implementations.csproj" />
|
|
</ItemGroup>
|
|
|
|
</Project>
|