nostrdb: add note pubkey and pubkey_kind indices

We need these for profile queries

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-12-13 17:28:30 -08:00
committed by Daniel D’Aquino
parent 282c02eed4
commit 8e79ad582a
2 changed files with 164 additions and 0 deletions

View File

@@ -183,6 +183,8 @@ enum ndb_dbs {
NDB_DB_NOTE_TEXT, // note fulltext index
NDB_DB_NOTE_BLOCKS, // parsed note blocks for rendering
NDB_DB_NOTE_TAGS, // note tags index
NDB_DB_NOTE_PUBKEY, // note pubkey index
NDB_DB_NOTE_PUBKEY_KIND, // note pubkey kind index
NDB_DBS,
};