summary refs log tree commit diff
path: root/synapse/storage/databases/main/schema
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-01-14 15:18:27 +0000
committerGitHub <noreply@github.com>2021-01-14 15:18:27 +0000
commit7036e24e98fc21855c34876d7024015470721bbe (patch)
tree983414be069d0221ffab4b508cb5733cd28d3ab1 /synapse/storage/databases/main/schema
parentSplit OidcProvider out of OidcHandler (#9107) (diff)
downloadsynapse-7036e24e98fc21855c34876d7024015470721bbe.tar.xz
Add background update for add chain cover index (#9029)
Diffstat (limited to 'synapse/storage/databases/main/schema')
-rw-r--r--synapse/storage/databases/main/schema/delta/59/06chain_cover_index.sql17
1 files changed, 17 insertions, 0 deletions
diff --git a/synapse/storage/databases/main/schema/delta/59/06chain_cover_index.sql b/synapse/storage/databases/main/schema/delta/59/06chain_cover_index.sql
new file mode 100644
index 0000000000..fe3dca71dd
--- /dev/null
+++ b/synapse/storage/databases/main/schema/delta/59/06chain_cover_index.sql
@@ -0,0 +1,17 @@
+/* Copyright 2020 The Matrix.org Foundation C.I.C
+ *
+ * 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.
+ */
+
+INSERT INTO background_updates (ordering, update_name, progress_json, depends_on) VALUES
+  (5906, 'chain_cover', '{}', 'rejected_events_metadata');