aboutsummaryrefslogtreecommitdiffstats
path: root/rust
diff options
context:
space:
mode:
Diffstat (limited to 'rust')
-rw-r--r--rust/src/database_models.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs
index 60d6922c..1b0c2de3 100644
--- a/rust/src/database_models.rs
+++ b/rust/src/database_models.rs
@@ -161,10 +161,10 @@ pub struct CreatorRevRow {
pub id: Uuid,
pub extra_json: Option<serde_json::Value>,
pub display_name: String,
- pub orcid: Option<String>,
- pub wikidata_qid: Option<String>,
pub given_name: Option<String>,
pub surname: Option<String>,
+ pub orcid: Option<String>,
+ pub wikidata_qid: Option<String>,
}
#[derive(Debug, Associations, AsChangeset, Insertable)]
@@ -172,10 +172,10 @@ pub struct CreatorRevRow {
pub struct CreatorRevNewRow {
pub extra_json: Option<serde_json::Value>,
pub display_name: String,
- pub orcid: Option<String>,
- pub wikidata_qid: Option<String>,
pub given_name: Option<String>,
pub surname: Option<String>,
+ pub orcid: Option<String>,
+ pub wikidata_qid: Option<String>,
}
entity_structs!(