0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-30 08:28:19 +02:00

Add index on label

This commit is contained in:
Brendan Abolivier 2019-10-30 15:58:05 +00:00
parent acd16ad86a
commit 233b14ebe1
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD

View file

@ -18,3 +18,5 @@ CREATE TABLE IF NOT EXISTS event_labels (
label TEXT, label TEXT,
PRIMARY KEY(event_id, label) PRIMARY KEY(event_id, label)
); );
CREATE INDEX event_labels_label_idx ON event_labels(label);