LinkinStars commented on issue #883:
URL: 
https://github.com/apache/incubator-answer/issues/883#issuecomment-2081391223

   > Hi @LinkinStars , below is my thought in database design. Pls let me know 
if any comment or suggestion. thx!
   > 
   > About the backend logic, I saw there's `meta` table and the `object_id` 
column could represent both answer and question. Is it suitable for such 
scenario? e.g. key is `object.react.summary`, and value is something like 
`{"heart": [1,2,3], "smile": [3,4,5], "frown": [5,6,7]}`. Here the int array 
represents the user ids reacted to this emoji.
   
   @hgaol It's great. The `meta` table is used to hold other data related to 
the object. It is appropriate to use it here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to