diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-18 16:30:04 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-18 16:30:04 +0100 |
commit | 38a965b8163c015ece6100a389e38b652c2c4e6a (patch) | |
tree | 6e27e8683e6b8c7606851a9577fb3f76741d036d /synapse/storage/schema | |
parent | Merge pull request #225 from matrix-org/erikj/reactor_metrics (diff) | |
parent | Rename unhelpful variable name (diff) | |
download | synapse-38a965b8163c015ece6100a389e38b652c2c4e6a.tar.xz |
Merge pull request #227 from matrix-org/erikj/receipts_take2
Re-enable receipts API.
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/delta/22/receipts_index.sql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/synapse/storage/schema/delta/22/receipts_index.sql b/synapse/storage/schema/delta/22/receipts_index.sql new file mode 100644 index 0000000000..b182b2b661 --- /dev/null +++ b/synapse/storage/schema/delta/22/receipts_index.sql @@ -0,0 +1,18 @@ +/* Copyright 2015 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 receipts_linearized_room_stream ON receipts_linearized( + room_id, stream_id +); |