-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Save reference_id to DB and add get_group_messages_with_reactions fun…
…ction (#1454) * save reference_id to DB and add get_group_messages_with_reactions function * add find messages with reactions with tests to ffi bindings --------- Co-authored-by: cameronvoell <[email protected]>
- Loading branch information
1 parent
ab9bb05
commit 2695d5f
Showing
9 changed files
with
456 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
xmtp_mls/migrations/2025-01-03-002434_create_group_message_parent_id/down.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
DROP INDEX idx_group_messages_reference_id; | ||
ALTER TABLE group_messages | ||
DROP COLUMN reference_id; |
3 changes: 3 additions & 0 deletions
3
xmtp_mls/migrations/2025-01-03-002434_create_group_message_parent_id/up.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ALTER TABLE group_messages | ||
ADD COLUMN reference_id BINARY; | ||
CREATE INDEX idx_group_messages_reference_id ON group_messages(reference_id); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.