mirror of
https://github.com/YGGverse/rssto.git
synced 2026-03-31 17:15:29 +00:00
apply missed db updates
This commit is contained in:
parent
2b804d8915
commit
1bee7daf77
5 changed files with 24 additions and 42 deletions
|
|
@ -201,12 +201,12 @@ fn crawl(tx: &mut mysql::Transaction, channel_config: &config::Channel) -> Resul
|
|||
image_id
|
||||
}
|
||||
};
|
||||
let content_image_id =
|
||||
tx.insert_content_image(channel_item_content_id, image_id)?;
|
||||
debug!("Add content image relationship #{content_image_id}");
|
||||
let channel_item_content_image_id =
|
||||
tx.insert_channel_item_content_image(channel_item_content_id, image_id)?;
|
||||
debug!("Add content image relationship #{channel_item_content_image_id}");
|
||||
let uri = format!("/image/{image_id}");
|
||||
tx.replace_channel_item_content_description(
|
||||
channel_item_content_id,
|
||||
channel_item_content_description_id,
|
||||
src,
|
||||
&uri,
|
||||
)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue