From e1b3c521341fcebaf5486e0af36ea15b14c40a4a Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 15 May 2018 19:26:45 -0700 Subject: hack around JSON serialization for now --- rust/src/database_models.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'rust/src/database_models.rs') diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs index 7153d18f..6c899ccf 100644 --- a/rust/src/database_models.rs +++ b/rust/src/database_models.rs @@ -1,5 +1,6 @@ use chrono; +use serde_json; use uuid::Uuid; //use diesel::prelude::*; @@ -20,7 +21,7 @@ macro_rules! entity_structs { pub rev_id: Option, pub redirect_id: Option, pub editgroup_id: i64, - //pub extra_json: Option, + //pub extra_json: Option, } #[derive(Debug, Queryable, Identifiable, Associations, AsChangeset)] @@ -38,7 +39,7 @@ macro_rules! entity_structs { #[table_name = "container_rev"] pub struct ContainerRevRow { pub id: i64, - //extra_json: Option, + //pub extra_json: Option, pub name: String, pub parent_ident_id: Option, pub publisher: Option, -- cgit v1.2.3