summary refs log tree commit diff
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2020-10-01 14:14:52 +0100
committerWill Hunt <will@half-shot.uk>2020-10-01 14:14:52 +0100
commit557e49abf54a3e9dfd865d677bb7fcfe3429ee33 (patch)
treefea863892722d665c592ac4a2a674002fcc12fdb
parentSend EDUs over /transaction and drop device stuff (diff)
downloadsynapse-557e49abf54a3e9dfd865d677bb7fcfe3429ee33.tar.xz
Add stream ids for rr and presence to schema
-rw-r--r--synapse/storage/databases/main/schema/delta/59/19as_device_stream.sql18
1 files changed, 18 insertions, 0 deletions
diff --git a/synapse/storage/databases/main/schema/delta/59/19as_device_stream.sql b/synapse/storage/databases/main/schema/delta/59/19as_device_stream.sql
new file mode 100644
index 0000000000..20f5a95a24
--- /dev/null
+++ b/synapse/storage/databases/main/schema/delta/59/19as_device_stream.sql
@@ -0,0 +1,18 @@
+/* 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.
+ */
+
+ALTER TABLE application_services_state
+    ADD COLUMN read_receipt_stream_id INT,
+    ADD COLUMN presence_stream_id INT;
\ No newline at end of file