This commit is contained in:
2025-09-08 12:51:15 -07:00
commit 574feb1ea1
62 changed files with 10425 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
from sqlalchemy import Column, Integer, DateTime, String, Text
from .base import BaseModel
class GarminSyncLog(BaseModel):
"""Log model for tracking Garmin sync operations."""
__tablename__ = "garmin_sync_log"
last_sync_time = Column(DateTime)
activities_synced = Column(Integer, default=0)
status = Column(String(20)) # success, error, in_progress
error_message = Column(Text)