pub fn update_last_sync( db: &Database, url: &str, username: &str, timestamp: i64, ) -> Result<(), DbError>
Update (or insert) the last sync timestamp for a remote server.