summaryrefslogtreecommitdiffstats
path: root/rust/src/database_models.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-08-20 01:18:10 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-08-20 01:18:10 -0700
commitb8ca8ebdae304dcc2a694e5dfbc9070003f0df8a (patch)
treea54dfa8362341907ca38bd3e1bdd671b4e55097d /rust/src/database_models.rs
parent657c1e7d4d6f07762bc1f6a7b24e9512e0089987 (diff)
downloadfatcat-b8ca8ebdae304dcc2a694e5dfbc9070003f0df8a.tar.gz
fatcat-b8ca8ebdae304dcc2a694e5dfbc9070003f0df8a.zip
use index_val, not index, in SQL schema
Diffstat (limited to 'rust/src/database_models.rs')
-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 258bcab7..47e00bcf 100644
--- a/rust/src/database_models.rs
+++ b/rust/src/database_models.rs
@@ -228,7 +228,7 @@ pub struct ReleaseContribRow {
pub creator_ident_id: Option<Uuid>,
pub raw_name: Option<String>,
pub role: Option<String>,
- pub index: Option<i64>,
+ pub index_val: Option<i64>,
pub extra_json: Option<serde_json::Value>,
}
@@ -239,7 +239,7 @@ pub struct ReleaseContribNewRow {
pub creator_ident_id: Option<Uuid>,
pub raw_name: Option<String>,
pub role: Option<String>,
- pub index: Option<i64>,
+ 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>,