Open iamrita opened 1 year ago
User: id, name, email, Journal, sign_up_date
Journal: id, user_id, List of Sessions
Session: Conversation, timestamp
Conversation: List<{question, answer}>
(question and answer are both just Strings)
In Firebase right now, we are currently storing a list of journal entires. We need to change this to store a list of Users.
No response
@xkylan I updated the description ^ with what exact data models we need and how we should modify Firebase. LMK if you suggest any changes to make it better.
Data Models:
User: id, name, email, Journal, sign_up_date
Journal: id, user_id, List of Sessions
Session: Conversation, timestamp
Conversation: List<{question, answer}>
(question and answer are both just Strings)
In Firebase right now, we are currently storing a list of journal entires. We need to change this to store a list of Users.
Additional context
No response