aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-24 17:35:53 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-24 17:35:53 -0700
commit4eb8b801ba937e6f0af25bfc233c13b8e25138c0 (patch)
tree401892747c574ba8ebf56c0681e5f8b8f20b5164 /rust/src
parent6936db8b6d4b18a8247ea82014890d21316d36b0 (diff)
downloadfatcat-4eb8b801ba937e6f0af25bfc233c13b8e25138c0.tar.gz
fatcat-4eb8b801ba937e6f0af25bfc233c13b8e25138c0.zip
more i64 cleanup
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/database_models.rs2
-rw-r--r--rust/src/database_schema.rs5
2 files changed, 4 insertions, 3 deletions
diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs
index 33676c95..d9305e9f 100644
--- a/rust/src/database_models.rs
+++ b/rust/src/database_models.rs
@@ -163,7 +163,7 @@ pub struct ReleaseRefRow {
id: i64,
release_rev: i64,
target_release_ident_id: Option<Uuid>,
- index: Option<i32>,
+ index: Option<i64>,
stub: Option<String>,
}
diff --git a/rust/src/database_schema.rs b/rust/src/database_schema.rs
index b25c52e2..9bcedf3e 100644
--- a/rust/src/database_schema.rs
+++ b/rust/src/database_schema.rs
@@ -108,7 +108,8 @@ table! {
table! {
file_rev (id) {
id -> Int8,
- size -> Nullable<Int4>,
+ extra_json -> Nullable<Json>,
+ size -> Nullable<Int8>,
sha1 -> Nullable<Text>,
url -> Nullable<Text>,
}
@@ -148,7 +149,7 @@ table! {
id -> Int8,
release_rev -> Int8,
target_release_ident_id -> Nullable<Uuid>,
- index -> Nullable<Int4>,
+ index -> Nullable<Int8>,
stub -> Nullable<Text>,
}
}