mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-22 10:15:33 +00:00
Add index on label
This commit is contained in:
parent
acd16ad86a
commit
233b14ebe1
@ -18,3 +18,5 @@ CREATE TABLE IF NOT EXISTS event_labels (
|
||||
label TEXT,
|
||||
PRIMARY KEY(event_id, label)
|
||||
);
|
||||
|
||||
CREATE INDEX event_labels_label_idx ON event_labels(label);
|
||||
|
Loading…
Reference in New Issue
Block a user