HomePhabricator
Diffusion Comm e7ae0af10e88

[keyserver] added target_message to messages table

Description

[keyserver] added target_message to messages table

Summary:
added target_message to messages table. target_message is the id of the message that is being reacted to. Also added the index to target_message column and this is to optimize how we will be fetching reaction messages for a certain message


Linear Task: ENG-2265

Test Plan:
Please see the screenshot to see that target_message is added to the messages table

Screenshot 2022-11-16 at 9.21.55 PM.png (1×3 px, 1 MB)

Also dropped and created my local DB to test the setup works as expected. Tested the stack locally in my environment to make sure everything still ran as expected/nothing crashed.

Reviewers: atul, tomek, rohan, ashoat

Reviewed By: atul, ashoat

Subscribers: ashoat, tomek, atul, abosh

Differential Revision: https://phab.comm.dev/D5658

Details

Provenance
ginsuAuthored on Nov 16 2022, 6:15 PM
Reviewer
atul
Differential Revision
D5658: [keyserver] added target_message to messages table
Parents
rCOMM23cf15da298b: [lib] Update `rawMessageInfoFromClientDB` to handle both `IMAGES` and…
Branches
Unknown
Tags
Unknown