mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Add index to temp table
This commit is contained in:
parent
e9e5d3392d
commit
6cdfb0207e
@ -20,3 +20,4 @@ INSERT INTO background_updates (update_name, progress_json) VALUES
|
|||||||
|
|
||||||
DROP TABLE IF EXISTS _extremities_to_check; -- To make this delta schema file idempotent.
|
DROP TABLE IF EXISTS _extremities_to_check; -- To make this delta schema file idempotent.
|
||||||
CREATE TABLE _extremities_to_check AS SELECT event_id FROM event_forward_extremities;
|
CREATE TABLE _extremities_to_check AS SELECT event_id FROM event_forward_extremities;
|
||||||
|
CREATE INDEX _extremities_to_check_id ON _extremities_to_check(event_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user