summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2021-04-06 13:36:05 +0100
committerGitHub <noreply@github.com>2021-04-06 13:36:05 +0100
commit0ef321ff3b81078fe5059a9012f8ff45ecbe7987 (patch)
tree679561e54894c0f7219b1c691a4052b19926ba13 /changelog.d
parentMerge branch 'master' into develop (diff)
downloadsynapse-0ef321ff3b81078fe5059a9012f8ff45ecbe7987.tar.xz
Remove outdated constraint on remote_media_cache_thumbnails (#9725)
The `remote_media_cache_thumbnails_media_origin_media_id_thumbna_key`
constraint is superceded by
`remote_media_repository_thumbn_media_origin_id_width_height_met` (which adds
`thumbnail_method` to the unique key).

PR #7124 made an attempt to remove the old constraint, but got the name wrong,
so it didn't work. Here we update the bg update and rerun it.

Fixes #8649.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/9725.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/9725.bugfix b/changelog.d/9725.bugfix
new file mode 100644
index 0000000000..71283685c8
--- /dev/null
+++ b/changelog.d/9725.bugfix
@@ -0,0 +1 @@
+Fix longstanding bug which caused `duplicate key value violates unique constraint "remote_media_cache_thumbnails_media_origin_media_id_thumbna_key"` errors.