diff --git a/src/db.rs b/src/db.rs
index cd5b6b5..eca92a5 100644
--- a/src/db.rs
+++ b/src/db.rs
@@ -1590,4 +1590,173 @@ impl Database {
recent_notifications,
})
}
+
+ // WebDAV sync state operations
+ pub async fn get_webdav_sync_state(&self, user_id: Uuid) -> Result