summary refs log tree commit diff
diff options
context:
space:
mode:
authorDirk Klimpel <5740567+dklimpel@users.noreply.github.com>2021-11-11 16:01:13 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2021-11-15 11:47:30 +0000
commitb596a1eb80be4b24142d131238dd5402db6bb855 (patch)
treee9c699e841a09fd9d56a1a828bbb524ce343cd61
parentChangelog tweak from feedback (diff)
downloadsynapse-b596a1eb80be4b24142d131238dd5402db6bb855.tar.xz
Move sql file for `remove_deleted_devices_from_device_inbox` into v65 (#11303)
-rw-r--r--changelog.d/11303.misc1
-rw-r--r--synapse/storage/schema/main/delta/65/05remove_deleted_devices_from_device_inbox.sql (renamed from synapse/storage/schema/main/delta/64/02remove_deleted_devices_from_device_inbox.sql)2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/11303.misc b/changelog.d/11303.misc
new file mode 100644
index 0000000000..50af92bfa5
--- /dev/null
+++ b/changelog.d/11303.misc
@@ -0,0 +1 @@
+Fix an issue which prevented the 'remove deleted devices from device_inbox column' background process from running when updating from a recent Synapse version.
diff --git a/synapse/storage/schema/main/delta/64/02remove_deleted_devices_from_device_inbox.sql b/synapse/storage/schema/main/delta/65/05remove_deleted_devices_from_device_inbox.sql
index fca7290741..076179123d 100644
--- a/synapse/storage/schema/main/delta/64/02remove_deleted_devices_from_device_inbox.sql
+++ b/synapse/storage/schema/main/delta/65/05remove_deleted_devices_from_device_inbox.sql
@@ -19,4 +19,4 @@
 -- This runs as background task, but may take a bit to finish.
 
 INSERT INTO background_updates (ordering, update_name, progress_json) VALUES
-  (6402, 'remove_deleted_devices_from_device_inbox', '{}');
+  (6505, 'remove_deleted_devices_from_device_inbox', '{}');