From 2c9edb5c394d9fc75cf3be49a157763506e1265c Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 16 May 2018 20:55:29 -0700 Subject: implement simplifications and more GETs --- rust/src/database_models.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'rust/src/database_models.rs') diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs index 0995304f..a1f7fc04 100644 --- a/rust/src/database_models.rs +++ b/rust/src/database_models.rs @@ -37,7 +37,6 @@ pub struct ContainerRevRow { pub id: i64, //pub extra_json: Option, pub name: String, - pub parent_ident_id: Option, pub publisher: Option, pub issn: Option, } @@ -82,10 +81,9 @@ entity_structs!("file_edit", FileEditRow, "file_ident", FileIdentRow); pub struct ReleaseRevRow { pub id: i64, //extra_json: Option, - pub work_ident_id: Option, + pub work_ident_id: Uuid, pub container_ident_id: Option, - pub title: Option, - pub license: Option, + pub title: String, pub release_type: Option, pub date: Option, pub doi: Option, -- cgit v1.2.3