PostgreSQL: replace EF migrations with SQL-first initialization, fix connection handling, and update setup docs #1

Merged
wjones merged 24 commits from upgrade-to-NET11 into main 2026-04-13 15:07:36 -04:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit bb9329736f - Show all commits
@@ -3,7 +3,7 @@
"operationId": "02bc6448-a69d-4ff4-a0ec-0db07ec3a09a",
"description": "Upgrade solution or project to new version of .NET",
"startTime": "2026-03-05T22:18:32.3921759Z",
"lastUpdateTime": "2026-03-08T15:11:47.2281903Z",
"lastUpdateTime": "2026-03-08T15:18:13.9904325Z",
"stage": "Execution",
"properties": {},
"folderPath": ""
@@ -427,7 +427,8 @@ public sealed class PostgresDatabaseProvider : IJellyfinDatabaseProvider
// Build psql command
var psqlArgs = $"-h {builder.Host} -p {builder.Port} -U {builder.Username} -d {builder.Database} -f \"{schemaScriptPath}\"";
logger.LogInformation("Executing via psql: psql {Args}", psqlArgs.Replace(builder.Password ?? string.Empty, "***", StringComparison.Ordinal));
// Log command (password not in args, so safe to log)
logger.LogInformation("Executing via psql: psql {Args}", psqlArgs);
var psqlProcess = new System.Diagnostics.Process
{