mirror of
https://github.com/This-weiyuqing/mi-fitness-health.git
synced 2026-10-18 03:03:49 +08:00
fix: preserve daily activity timezone metadata
This commit is contained in:
1 parent
f73fcb6659
commit
636d2857c3
2 files changed
+24
-6
No files matched your search
@@ -290,6 +290,8 @@ class Database:
|
||||
total_kcal, floors, active_minutes
|
||||
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||
ON CONFLICT(id) DO UPDATE SET
|
||||
timezone = excluded.timezone,
|
||||
collected_at = excluded.collected_at,
|
||||
steps = excluded.steps,
|
||||
distance_m = excluded.distance_m,
|
||||
active_kcal = excluded.active_kcal,
|
||||
|
||||
Reference in new issue
Block a user