From fe2b2a907002ef74d0a083c733722534dd48b60b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 8 Jul 2024 14:47:29 +0300 Subject: [PATCH] Set proper field types --- plextraktsync/db/models/SyncRecord.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plextraktsync/db/models/SyncRecord.py b/plextraktsync/db/models/SyncRecord.py index 6e854e1333..1e154dd1ba 100644 --- a/plextraktsync/db/models/SyncRecord.py +++ b/plextraktsync/db/models/SyncRecord.py @@ -18,7 +18,7 @@ class SyncRecord(SQLModel, table=True): updated_at: Optional[datetime] = Field( sa_column=Column(DateTime(), onupdate=func.now()) ) - plex_timestamp_watched: str - seen_on_plex_sync: str - trakt_timestamp_watched: str - seen_on_trakt_sync: str + plex_timestamp_watched: Optional[datetime] + seen_on_plex_sync: bool + trakt_timestamp_watched: Optional[datetime] + seen_on_trakt_sync: bool