AEG-X-004: deploy DbUp migrations with release artifact #11

Merged
kjh2064 merged 5 commits from fix/deploy-db-migrator-migrations into main 2026-08-06 15:21:23 +09:00
Showing only changes of commit dc087969c5 - Show all commits
@@ -6,6 +6,10 @@ internal static class TestDatabaseConnection
{
public static string GetConnectionString()
{
var configured = Environment.GetEnvironmentVariable("KARTSELL_POSTGRES");
if (!string.IsNullOrWhiteSpace(configured))
return configured;
var path = Path.Combine(AppContext.BaseDirectory, "appsettings.Development.json");
if (!File.Exists(path))
throw new InvalidOperationException($"Integration test settings are required: {path}");