mirror of
https://github.com/block/buzz.git
synced 2026-10-29 13:31:44 +00:00
Merge main-refreshed operator cron base
Signed-off-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz>
This commit is contained in:
@@ -278,6 +278,10 @@ CREATE INDEX idx_events_not_before ON events (community_id, not_before)
|
||||
-- EXPLAIN before its work lands (Quinn option A; Max's index-spelling caveat).
|
||||
CREATE INDEX idx_events_search_tsv ON events USING GIN (search_tsv);
|
||||
|
||||
-- e-tag containment (`tags @> '[["e","<hex>"]]'`) for the aux closure and #e
|
||||
-- reads. Mirrors migrations/0004; jsonb_path_ops supports exactly @>.
|
||||
CREATE INDEX idx_events_tags_gin ON events USING GIN (tags jsonb_path_ops);
|
||||
|
||||
-- ── Event mentions ────────────────────────────────────────────────────────────
|
||||
-- Conformance: "Channel-less global events and DMs" (#p fan-out). The join to
|
||||
-- events MUST carry the community tuple (e.community_id = m.community_id AND
|
||||
|
||||
Reference in New Issue
Block a user