mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-20 21:33:19 -06:00
Fix index
This commit is contained in:
parent
0ac6c802fb
commit
4f206eb478
|
|
@ -34,8 +34,8 @@ CREATE TABLE IF NOT EXISTS federationsender_queue_pdus (
|
||||||
json_nid BIGINT NOT NULL
|
json_nid BIGINT NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE UNIQUE INDEX IF NOT EXISTS federationsender_queue_pdus_pdus_event_id_idx
|
CREATE UNIQUE INDEX IF NOT EXISTS federationsender_queue_pdus_pdus_json_nid_idx
|
||||||
ON federationsender_queue_pdus (event_id, server_name);
|
ON federationsender_queue_pdus (json_nid, server_name);
|
||||||
`
|
`
|
||||||
|
|
||||||
const insertQueuePDUSQL = "" +
|
const insertQueuePDUSQL = "" +
|
||||||
|
|
|
||||||
|
|
@ -34,8 +34,8 @@ CREATE TABLE IF NOT EXISTS federationsender_queue_pdus (
|
||||||
json_nid BIGINT NOT NULL
|
json_nid BIGINT NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE UNIQUE INDEX IF NOT EXISTS federationsender_queue_pdus_pdus_event_id_idx
|
CREATE UNIQUE INDEX IF NOT EXISTS federationsender_queue_pdus_pdus_json_nid_idx
|
||||||
ON federationsender_queue_pdus (event_id, server_name);
|
ON federationsender_queue_pdus (json_nid, server_name);
|
||||||
`
|
`
|
||||||
|
|
||||||
const insertQueuePDUSQL = "" +
|
const insertQueuePDUSQL = "" +
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue