summary refs log tree commit diff
path: root/synapse/storage/schema/delta
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-09-12 12:36:36 +0100
committerErik Johnston <erik@matrix.org>2016-09-12 12:36:36 +0100
commit15ca0c6a4d4b7ddbff8e3348ba949177e1562108 (patch)
treef65f7832fb2c482d3a4bd08f49269bbf4c6e398a /synapse/storage/schema/delta
parentMerge remote-tracking branch 'origin/develop' into dbkr/make_notif_highlight_... (diff)
downloadsynapse-15ca0c6a4d4b7ddbff8e3348ba949177e1562108.tar.xz
Make reindex happen in bg
Diffstat (limited to 'synapse/storage/schema/delta')
-rw-r--r--synapse/storage/schema/delta/35/event_push_actions_index.sql5
1 files changed, 2 insertions, 3 deletions
diff --git a/synapse/storage/schema/delta/35/event_push_actions_index.sql b/synapse/storage/schema/delta/35/event_push_actions_index.sql
index 4fc32c351a..2e836d8e9c 100644
--- a/synapse/storage/schema/delta/35/event_push_actions_index.sql
+++ b/synapse/storage/schema/delta/35/event_push_actions_index.sql
@@ -13,6 +13,5 @@
  * limitations under the License.
  */
 
- CREATE INDEX event_push_actions_user_id_highlight_stream_ordering on event_push_actions(
-     user_id, highlight, stream_ordering
- );
+ INSERT into background_updates (update_name, progress_json)
+     VALUES ('epa_highlight_index', '{}');