aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/database_models.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-24 17:42:42 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-24 17:42:42 -0700
commit6ece23cce5f90eed034ea34a1c751da64d812a87 (patch)
treec80b34d04381557784ed99d567dd14d11409e7a6 /rust/src/database_models.rs
parent4eb8b801ba937e6f0af25bfc233c13b8e25138c0 (diff)
downloadfatcat-6ece23cce5f90eed034ea34a1c751da64d812a87.tar.gz
fatcat-6ece23cce5f90eed034ea34a1c751da64d812a87.zip
update codegen and hack-fix tests
Diffstat (limited to 'rust/src/database_models.rs')
-rw-r--r--rust/src/database_models.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs
index d9305e9f..8e93d69e 100644
--- a/rust/src/database_models.rs
+++ b/rust/src/database_models.rs
@@ -106,7 +106,7 @@ entity_structs!(
pub struct FileRevRow {
pub id: i64,
//extra_json: Option<String>,
- pub size: Option<i32>,
+ pub size: Option<i64>,
pub sha1: Option<String>,
pub url: Option<String>,
}
@@ -181,7 +181,7 @@ pub struct FileReleaseRow {
#[table_name = "editgroup"]
pub struct EditgroupRow {
pub id: i64,
- pub extra_json: Option<serde_json::Value>,
+ //pub extra_json: Option<serde_json::Value>,
pub editor_id: i64,
pub description: Option<String>,
}