From 4e016e43fd05202287730915d129daaed1a02efc Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 11 Aug 2023 12:12:33 +0300 Subject: Update issue: Only approved diffs are stored. --- topics/editing/improving-metadata-audit.gmi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/topics/editing/improving-metadata-audit.gmi b/topics/editing/improving-metadata-audit.gmi index dc9f65b..5bcf01c 100644 --- a/topics/editing/improving-metadata-audit.gmi +++ b/topics/editing/improving-metadata-audit.gmi @@ -23,7 +23,13 @@ This document proposes that we do improvements to the existing system to mitigat ## Notes -Identifying trait diffs: +### Saving Diffs in Database + +It turns out, we only store diffs in the database that have been approved. The diffs awaiting processing, or those that have been rejected are not stored. + +This makes it a little easier to handle some of the newer features requested. + +### Identifying Trait Diffs * Phenotype diffs can be identified with the `trait_name` and `phenotype_id` keys in the `json_diff_data` field * Probesets diffs can be identified with the `probeset_name` key in the `json_diff_data` field -- cgit v1.2.3