diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-11 14:52:44 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-11 14:52:44 -0800 |
commit | 54e34ddd56b705cba239f88a9239c603d3ecd20e (patch) | |
tree | 5007cbc2d315d04b5788eb6cec0b7537e8baa51b /rust/src/database_models.rs | |
parent | cd5cf1b9f7a50cd3c2f2a42b4a0b3743a5c31d7e (diff) | |
download | fatcat-54e34ddd56b705cba239f88a9239c603d3ecd20e.tar.gz fatcat-54e34ddd56b705cba239f88a9239c603d3ecd20e.zip |
yet more edit lifecycle progress
Diffstat (limited to 'rust/src/database_models.rs')
-rw-r--r-- | rust/src/database_models.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/rust/src/database_models.rs b/rust/src/database_models.rs index ef6eb65d..c033c6e5 100644 --- a/rust/src/database_models.rs +++ b/rust/src/database_models.rs @@ -567,6 +567,7 @@ impl EditgroupRow { Editgroup { editgroup_id: Some(uuid2fcid(&self.id)), editor_id: Some(uuid2fcid(&self.editor_id)), + editor: None, submitted: self .submitted .map(|v| chrono::DateTime::from_utc(v, chrono::Utc)), @@ -595,6 +596,7 @@ impl EditgroupAnnotationRow { annotation_id: Some(self.id.to_string()), editgroup_id: Some(uuid2fcid(&self.editgroup_id)), editor_id: Some(uuid2fcid(&self.editor_id)), + editor: None, created: Some(chrono::DateTime::from_utc(self.created, chrono::Utc)), comment_markdown: self.comment_markdown, extra: self.extra_json, |