summary refs log tree commit diff
path: root/synapse/storage/schema
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2016-09-12 10:41:21 +0100
committerGitHub <noreply@github.com>2016-09-12 10:41:21 +0100
commitcaef86f428950ebaaed855cc99ff3d0e1591e147 (patch)
tree3ccb304d5fc6817c30e821189e8832721e9abede /synapse/storage/schema
parentMerge pull request #1101 from matrix-org/erikj/state_types_idx (diff)
parentRevert "Add index to event_push_actions" (diff)
downloadsynapse-caef86f428950ebaaed855cc99ff3d0e1591e147.tar.xz
Merge pull request #1102 from matrix-org/revert-1099-dbkr/make_notif_highlight_query_fast
Revert "Add index to event_push_actions"
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r--synapse/storage/schema/delta/35/event_push_actions_index.sql18
1 files changed, 0 insertions, 18 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
deleted file mode 100644

index 4fc32c351a..0000000000 --- a/synapse/storage/schema/delta/35/event_push_actions_index.sql +++ /dev/null
@@ -1,18 +0,0 @@ -/* Copyright 2016 OpenMarket Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - CREATE INDEX event_push_actions_user_id_highlight_stream_ordering on event_push_actions( - user_id, highlight, stream_ordering - );