aboutsummaryrefslogtreecommitdiffstats
path: root/rust/src/database_models.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-05-25 19:42:39 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-05-25 19:42:39 -0700
commitf3523b1d900e19911bf0041ac1c75877b0bfc943 (patch)
tree4286885906e7758c4cf6625a369d17b96c4d8e62 /rust/src/database_models.rs
parentf653c4070a076306825501ddbc27c0634d0e1438 (diff)
downloadfatcat-f3523b1d900e19911bf0041ac1c75877b0bfc943.tar.gz
fatcat-f3523b1d900e19911bf0041ac1c75877b0bfc943.zip
return all edits for an editgroup GET
Diffstat (limited to 'rust/src/database_models.rs')
-rw-r--r--rust/src/database_models.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs
index 2b205fe7..b27bca3f 100644
--- a/rust/src/database_models.rs
+++ b/rust/src/database_models.rs
@@ -36,10 +36,10 @@ macro_rules! entity_structs {
#[table_name = $edit_table]
pub struct $edit_struct {
pub id: i64,
+ pub editgroup_id: i64,
pub ident_id: Uuid,
pub rev_id: Option<i64>,
pub redirect_id: Option<Uuid>,
- pub editgroup_id: i64,
pub extra_json: Option<serde_json::Value>,
}