From 5868714f4176c9cb70245d5164cc9196c2314a75 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 20 May 2019 15:26:08 -0700 Subject: include edit_extra on single-entity creates --- rust/src/entity_crud.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'rust/src') diff --git a/rust/src/entity_crud.rs b/rust/src/entity_crud.rs index b72ccd37..dc8a3e82 100644 --- a/rust/src/entity_crud.rs +++ b/rust/src/entity_crud.rs @@ -346,6 +346,7 @@ macro_rules! generic_db_create { $edit_table::editgroup_id.eq(edit_context.editgroup_id.to_uuid()), $edit_table::rev_id.eq(&rev_id), $edit_table::ident_id.eq(&ident), + $edit_table::extra_json.eq(self.edit_extra.clone()), )) .get_result(conn)?; Ok(edit) -- cgit v1.2.3