As per discussion with Andreas and Guo last to last week, we need 2 new fields in the table for implementing accept, and reject APIs and showing question text.
(1) feedback field for collecting feedback from editors
default = None
can be None/True/False
correct/ published (old schema) --> feedback (new schema)
(correct or published fields from the old schema should be mapped with feedback in the new schema for the existing fact records)
published = True -> Feedback = True (current date)
published = False -> Feedback = False (current date)
published = None -> Feedback = None (we have not received feedback yet. date = empty)
example feedback = {"feedback_date": 01-01-22, "feedback": boolean, "user_id": wdtId}
(2) question (old schema) --> meta_information (new schema)
meta_information = { # replacement for question field
"question": "" # current, donations can have anything
}
As per discussion with Andreas and Guo last to last week, we need 2 new fields in the table for implementing accept, and reject APIs and showing question text.
(1) feedback field for collecting feedback from editors default = None can be None/True/False
correct/ published (old schema) --> feedback (new schema) (correct or published fields from the old schema should be mapped with feedback in the new schema for the existing fact records)
published = True -> Feedback = True (current date) published = False -> Feedback = False (current date) published = None -> Feedback = None (we have not received feedback yet. date = empty)
example feedback = {"feedback_date": 01-01-22, "feedback": boolean, "user_id": wdtId}
(2) question (old schema) --> meta_information (new schema)
meta_information = { # replacement for question field "question": "" # current, donations can have anything }