aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/database_models.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-08-14 21:02:18 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-08-14 21:02:18 -0700
commit602d0ff2598b6ac15766689c925aff818c029615 (patch)
treed11c4f4c3ff39fa04f22f30fb7763a1a1cb35a4f /rust/src/database_models.rs
parent987b41fd721231bc320a5f562d9a1c526db01079 (diff)
downloadfatcat-602d0ff2598b6ac15766689c925aff818c029615.tar.gz
fatcat-602d0ff2598b6ac15766689c925aff818c029615.zip
index_val and role_val
Diffstat (limited to 'rust/src/database_models.rs')
-rw-r--r--rust/src/database_models.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs
index 258bcab7..c7da4de7 100644
--- a/rust/src/database_models.rs
+++ b/rust/src/database_models.rs
@@ -227,8 +227,8 @@ pub struct ReleaseContribRow {
pub release_rev: Uuid,
pub creator_ident_id: Option<Uuid>,
pub raw_name: Option<String>,
- pub role: Option<String>,
- pub index: Option<i64>,
+ pub role_val: Option<String>,
+ pub index_val: Option<i64>,
pub extra_json: Option<serde_json::Value>,
}
@@ -238,8 +238,8 @@ pub struct ReleaseContribNewRow {
pub release_rev: Uuid,
pub creator_ident_id: Option<Uuid>,
pub raw_name: Option<String>,
- pub role: Option<String>,
- pub index: Option<i64>,
+ pub role_val: Option<String>,
+ pub index_val: Option<i64>,
pub extra_json: Option<serde_json::Value>,
}
@@ -249,7 +249,7 @@ pub struct ReleaseRefRow {
pub id: i64,
pub release_rev: Uuid,
pub target_release_ident_id: Option<Uuid>,
- pub index: Option<i64>,
+ pub index_val: Option<i64>,
pub key: Option<String>,
pub extra_json: Option<serde_json::Value>,
pub container_title: Option<String>,
@@ -263,7 +263,7 @@ pub struct ReleaseRefRow {
pub struct ReleaseRefNewRow {
pub release_rev: Uuid,
pub target_release_ident_id: Option<Uuid>,
- pub index: Option<i64>,
+ pub index_val: Option<i64>,
pub key: Option<String>,
pub extra_json: Option<serde_json::Value>,
pub container_title: Option<String>,