Add stanza_id index also when we create the DB
This commit is contained in:
parent
8306f076b3
commit
3efa731fbf
|
@ -187,6 +187,9 @@ class Logger:
|
|||
);
|
||||
|
||||
CREATE INDEX idx_logs_jid_id_time ON logs (jid_id, time DESC);
|
||||
|
||||
CREATE INDEX idx_logs_stanza_id ON logs (stanza_id);
|
||||
|
||||
'''
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue