fix(backend): backfill legacy node dual-stack columns in sqlite migration

This commit is contained in:
sagit
2026-02-10 04:06:00 +00:00
parent 2acee481f0
commit abb8591b11
2 changed files with 120 additions and 1 deletions
@@ -1203,7 +1203,9 @@ func migrateSchema(db *sql.DB) error {
columnsByTable := map[string]map[string]string{
"node": {
"inx": "INTEGER NOT NULL DEFAULT 0",
"server_ip_v4": "VARCHAR(100)",
"server_ip_v6": "VARCHAR(100)",
"inx": "INTEGER NOT NULL DEFAULT 0",
},
"tunnel": {
"inx": "INTEGER NOT NULL DEFAULT 0",