From 480cd21e73db4bcafd42983f476941cb8496aeca Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 7 Jan 2026 18:25:44 +0200 Subject: [PATCH] fix field asset and type --- crates/mysql/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/mysql/src/lib.rs b/crates/mysql/src/lib.rs index 7286a34..92ffb27 100644 --- a/crates/mysql/src/lib.rs +++ b/crates/mysql/src/lib.rs @@ -50,7 +50,7 @@ impl Mysql { ) -> Result, Error> { self.connection.exec_map( format!( - "SELECT `channel_item_id`, `channel_id`, `guid`, `link`, `title`, `description` FROM `channel_item` WHERE `channel_id` = ? AND `guid` = ? LIMIT {}", + "SELECT `channel_item_id`, `channel_id`, `pub_date`, `guid`, `link`, `title`, `description` FROM `channel_item` WHERE `channel_id` = ? AND `guid` = ? LIMIT {}", limit.unwrap_or(DEFAULT_LIMIT)), ( channel_id, @@ -117,7 +117,7 @@ pub struct Channel { pub struct ChannelItem { pub channel_item_id: u64, pub channel_id: u64, - pub pub_date: i32, + pub pub_date: i64, pub guid: String, pub link: String, pub title: Option,