async fn merge_reading_states( tx: &mut Transaction<'_, Sqlite>, old_fp: &str, new_fp: &str, ) -> Result<(), Error>