title: What is the best data model for list of activities created by users?
body: <p>I am new in firestore. I'm trying to design the data model for my app. And i want to know what is the best way to design data model when i have a list of users and list of activities that the users created. Is this the correct model? As i think in this manner it will be easier to display. Any suggestion or improvement please let me know. Thank you for your advice.</p>
  
  <pre><code>activities(collection)
    -- userid1(document)
       ---- activityid1
            ---- type : hiking
            ---- timestamp
            ---- comment: comment-text
       ---- activityid2
            ---- type : jogging
            ---- timestamp
            ---- comment: comment-text
    -- userid2
       ---- activityid1
            ---- type : hunting
            ---- timestamp
            ---- comment: comment-text
  </code></pre>