pub async fn sync(
    settings: &Settings,
    force: bool,
    db: &mut impl Database + Send
) -> Result<()>