summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-08-02 20:09:22 -0500
committerEric Eastwood <erice@element.io>2022-08-02 20:09:22 -0500
commit16d17f75531ea6aabe9a61c33a27ae185bacc0d2 (patch)
treea6c5f9467f69ada2b5e5dc6ab34916e8c1540cdd /synapse
parentFix remnant (diff)
downloadsynapse-16d17f75531ea6aabe9a61c33a27ae185bacc0d2.tar.xz
Fix table missing column
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/schema/__init__.py4
-rw-r--r--synapse/storage/schema/main/delta/72/04rename_opentelemtetry_tracing_context.sql (renamed from synapse/storage/schema/main/delta/73/01rename_opentelemtetry_tracing_context.sql)1
2 files changed, 3 insertions, 2 deletions
diff --git a/synapse/storage/schema/__init__.py b/synapse/storage/schema/__init__.py
index d1c462a30f..dd187f7422 100644
--- a/synapse/storage/schema/__init__.py
+++ b/synapse/storage/schema/__init__.py
@@ -75,8 +75,8 @@ Changes in SCHEMA_VERSION = 71:
 Changes in SCHEMA_VERSION = 72:
     - event_edges.(room_id, is_state) are no longer written to.
     - Tables related to groups are dropped.
-    - Rename column in `device_lists_outbound_pokes` from `opentracing_context` to
-      generalized `tracing_context`.
+    - Rename column in `device_lists_outbound_pokes` and `device_lists_changes_in_room`
+      from `opentracing_context` to generalized `tracing_context`.
 """
 
 
diff --git a/synapse/storage/schema/main/delta/73/01rename_opentelemtetry_tracing_context.sql b/synapse/storage/schema/main/delta/72/04rename_opentelemtetry_tracing_context.sql
index f8c333011d..ae904863f8 100644
--- a/synapse/storage/schema/main/delta/73/01rename_opentelemtetry_tracing_context.sql
+++ b/synapse/storage/schema/main/delta/72/04rename_opentelemtetry_tracing_context.sql
@@ -15,3 +15,4 @@
 
 -- Rename to generalized `tracing_context` since we're moving from opentracing to opentelemetry
 ALTER TABLE device_lists_outbound_pokes RENAME COLUMN opentracing_context TO tracing_context;
+ALTER TABLE device_lists_changes_in_room RENAME COLUMN opentracing_context TO tracing_context;