refactor(go): drop unused realtime geo index

This commit is contained in:
lingniu
2026-07-03 07:46:21 +08:00
parent 1c0d7dc03e
commit eced1873cd
3 changed files with 5 additions and 2 deletions

View File

@@ -371,8 +371,7 @@ const realtimeLocationTableSQL = `CREATE TABLE IF NOT EXISTS vehicle_realtime_lo
updated_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (protocol, vin),
KEY idx_vin (vin),
KEY idx_protocol_updated (protocol, updated_at),
KEY idx_location (longitude, latitude)
KEY idx_protocol_updated (protocol, updated_at)
)`
const upsertRealtimeLocationSQL = `