在weather_data表中添加了一个字段

This commit is contained in:
2025-09-29 16:02:50 +08:00
parent 8c92834e3b
commit 9880124c87
3 changed files with 41 additions and 10 deletions

View File

@@ -152,6 +152,10 @@ pub struct WeatherData {
#[sqlx(rename = "hasmeasuredwindspeed")]
pub has_measured_wind_speed: bool,
#[serde(rename = "hasSpotCheckWindSpeed")]
#[sqlx(rename = "hasspotcheckwindspeed")]
pub has_spot_check_wind_speed: bool,
#[serde(rename = "hours")]
#[sqlx(rename = "hour")] // 数据库中是 hour 字段
pub hours: i32,