Skip to content

Commit

Permalink
Merge branch 'main' of github.com:xmtp/libxmtp into group-messages
Browse files Browse the repository at this point in the history
  • Loading branch information
insipx committed Nov 3, 2023
2 parents de42f3a + 129e3c4 commit 713872a
Show file tree
Hide file tree
Showing 3 changed files with 539 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ CREATE TABLE group_intents (
-- INTENT_STATE,
"state" INT NOT NULL,
-- The hash of the encrypted, concrete, form of the message if it was published.
"payload_hash" BLOB,
"payload_hash" BLOB UNIQUE,
-- (Optional) data needed for the post-commit flow. For example, welcome messages
"post_commit_data" BLOB,
FOREIGN KEY (group_id) REFERENCES groups(id)
);

CREATE INDEX group_intents_group_id_id ON group_intents(group_id, id);
CREATE INDEX group_intents_group_id_state ON group_intents(group_id, state);
Loading

0 comments on commit 713872a

Please sign in to comment.