feat: support automatic db migration rollbacks (#874)

This commit is contained in:
Elias Schneider
2025-08-24 16:56:28 +02:00
committed by GitHub
parent 63db4d5120
commit c114a2edaa
4 changed files with 80 additions and 5 deletions

View File

@@ -52,6 +52,7 @@ type EnvConfigSchema struct {
LogJSON bool `env:"LOG_JSON"`
TrustProxy bool `env:"TRUST_PROXY"`
AnalyticsDisabled bool `env:"ANALYTICS_DISABLED"`
AllowDowngrade bool `env:"ALLOW_DOWNGRADE"`
}
var EnvConfig = defaultConfig()
@@ -87,6 +88,7 @@ func defaultConfig() EnvConfigSchema {
TracingEnabled: false,
TrustProxy: false,
AnalyticsDisabled: false,
AllowDowngrade: false,
}
}