Routen-Validierung: >15 km/h Ø zählt nicht für Stats/Trophäen, SW by-v331

This commit is contained in:
rene 2026-04-24 09:46:15 +02:00
parent b5e4eab84d
commit 7ac421fcf9
7 changed files with 40 additions and 16 deletions

View file

@ -1017,3 +1017,10 @@ def _migrate(conn_factory):
except Exception:
pass
logger.info("Migration: push_subscriptions last_lat/lon bereit.")
# Routen: Geschwindigkeits-Validierung
try:
conn.execute("ALTER TABLE routes ADD COLUMN is_valid INTEGER NOT NULL DEFAULT 1")
except Exception:
pass
logger.info("Migration: routes.is_valid bereit.")