在weather_data表中添加了一个字段
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user