Add index to temp table

release-v0.99.5
Erik Johnston 2019-05-30 14:54:56 +01:00
parent 06eb408da5
commit e2c3660a0f
1 changed files with 1 additions and 0 deletions

View File

@ -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.
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);