diff options
Diffstat (limited to 'rust/src')
| -rw-r--r-- | rust/src/database_models.rs | 4 | ||||
| -rw-r--r-- | rust/src/database_schema.rs | 2 | ||||
| -rw-r--r-- | rust/src/entity_crud.rs | 6 | 
3 files changed, 6 insertions, 6 deletions
| diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs index e37a6f18..3ee7552c 100644 --- a/rust/src/database_models.rs +++ b/rust/src/database_models.rs @@ -402,7 +402,7 @@ pub struct ReleaseRevRow {      pub number: Option<String>,      pub version: Option<String>,      pub subtitle: Option<String>, -    pub withdrawn_state: Option<String>, +    pub withdrawn_status: Option<String>,      pub withdrawn_date: Option<chrono::NaiveDate>,      pub withdrawn_year: Option<i64>,      pub mag_id: Option<String>, @@ -439,7 +439,7 @@ pub struct ReleaseRevNewRow {      pub number: Option<String>,      pub version: Option<String>,      pub subtitle: Option<String>, -    pub withdrawn_state: Option<String>, +    pub withdrawn_status: Option<String>,      pub withdrawn_date: Option<chrono::NaiveDate>,      pub withdrawn_year: Option<i64>,      pub mag_id: Option<String>, diff --git a/rust/src/database_schema.rs b/rust/src/database_schema.rs index b7dee298..ae6a5464 100644 --- a/rust/src/database_schema.rs +++ b/rust/src/database_schema.rs @@ -319,7 +319,7 @@ table! {          number -> Nullable<Text>,          version -> Nullable<Text>,          subtitle -> Nullable<Text>, -        withdrawn_state -> Nullable<Text>, +        withdrawn_status -> Nullable<Text>,          withdrawn_date -> Nullable<Date>,          withdrawn_year -> Nullable<Int8>,          mag_id -> Nullable<Text>, diff --git a/rust/src/entity_crud.rs b/rust/src/entity_crud.rs index 4a7cdee0..d141e838 100644 --- a/rust/src/entity_crud.rs +++ b/rust/src/entity_crud.rs @@ -1624,7 +1624,7 @@ impl EntityCrud for ReleaseEntity {              release_stage: None,              release_date: None,              release_year: None, -            withdrawn_state: None, +            withdrawn_status: None,              withdrawn_date: None,              withdrawn_year: None,              doi: None, @@ -1924,7 +1924,7 @@ impl EntityCrud for ReleaseEntity {              release_stage: rev_row.release_stage,              release_date: rev_row.release_date,              release_year: rev_row.release_year, -            withdrawn_state: rev_row.withdrawn_state, +            withdrawn_status: rev_row.withdrawn_status,              withdrawn_date: rev_row.withdrawn_date,              withdrawn_year: rev_row.withdrawn_year,              doi: rev_row.doi, @@ -2089,7 +2089,7 @@ impl EntityCrud for ReleaseEntity {                      release_stage: model.release_stage.clone(),                      release_date: model.release_date,                      release_year: model.release_year, -                    withdrawn_state: model.withdrawn_state.clone(), +                    withdrawn_status: model.withdrawn_status.clone(),                      withdrawn_date: model.withdrawn_date,                      withdrawn_year: model.withdrawn_year,                      doi: model.doi.clone(), | 
