From 4eb8b801ba937e6f0af25bfc233c13b8e25138c0 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 24 May 2018 17:35:53 -0700 Subject: more i64 cleanup --- rust/src/database_models.rs | 2 +- rust/src/database_schema.rs | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'rust/src') 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, - index: Option, + index: Option, stub: Option, } 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, + extra_json -> Nullable, + size -> Nullable, sha1 -> Nullable, url -> Nullable, } @@ -148,7 +149,7 @@ table! { id -> Int8, release_rev -> Int8, target_release_ident_id -> Nullable, - index -> Nullable, + index -> Nullable, stub -> Nullable, } } -- cgit v1.2.3