fix(sqlite): backfill tunnel relay authentication mode (#573)

* fix(sqlite): backfill tunnel relay authentication mode

* ci: cover SQLite upgrade migrations in backend checks
This commit is contained in:
sagit
2026-11-09 20:46:52 +08:00
committed by GitHub
parent 7e81e1c65c
commit 3209ff8a59
3 changed files with 183 additions and 1 deletions
+1 -1
View File
@@ -419,7 +419,7 @@ func prepareSQLiteLegacyColumns(db *gorm.DB) error {
}
if m.HasTable(&model.Tunnel{}) {
for _, field := range []string{"Inx", "IPPreference", "ProbeTargetHost", "ProbeTargetPort"} {
for _, field := range []string{"Inx", "IPPreference", "ProbeTargetHost", "ProbeTargetPort", "RelayAuthMode"} {
if m.HasColumn(&model.Tunnel{}, field) {
continue
}