DROP indexes before recreating them

This commit is contained in:
Erik Johnston 2015-04-10 18:46:09 +01:00
parent 4d5b098626
commit 4103b1c470
2 changed files with 9 additions and 1 deletions

View file

@ -37,4 +37,4 @@ CREATE INDEX IF NOT EXISTS state_groups_id ON state_groups(id);
CREATE INDEX IF NOT EXISTS state_groups_state_id ON state_groups_state(state_group);
CREATE INDEX IF NOT EXISTS state_groups_state_tuple ON state_groups_state(room_id, type, state_key);
CREATE INDEX IF NOT EXISTS event_to_state_groups_id ON event_to_state_groups(event_id);
CREATE INDEX IF NOT EXISTS event_to_state_groups_id ON event_to_state_groups(event_id);