summary refs log tree commit diff
diff options
context:
space:
mode:
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>2020-09-28 15:35:02 +0100
committerGitHub <noreply@github.com>2020-09-28 15:35:02 +0100
commitbd715e12786f4e48d7a8a1973119bbc0502ecff3 (patch)
treebbf23bb7c8c5dac4ad4a1f3e06aa32b84cacd98b
parentA pair of tiny cleanups in the federation request code. (#8401) (diff)
downloadsynapse-bd715e12786f4e48d7a8a1973119bbc0502ecff3.tar.xz
Add `ui_auth_sessions_ips` table to `synapse_port_db` ignore list (#8410)
This table was created in #8034 (1.20.0).  It references
`ui_auth_sessions`, which is ignored, so this one should be too.

Signed-off-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
-rw-r--r--changelog.d/8410.bugfix1
-rwxr-xr-xscripts/synapse_port_db1
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/8410.bugfix b/changelog.d/8410.bugfix
new file mode 100644
index 0000000000..1323ddc525
--- /dev/null
+++ b/changelog.d/8410.bugfix
@@ -0,0 +1 @@
+Fix a v1.20.0 regression in the `synapse_port_db` script regarding the `ui_auth_sessions_ips` table.
diff --git a/scripts/synapse_port_db b/scripts/synapse_port_db
index 684a518b8e..ae2887b7d2 100755
--- a/scripts/synapse_port_db
+++ b/scripts/synapse_port_db
@@ -145,6 +145,7 @@ IGNORED_TABLES = {
     # the sessions are transient anyway, so ignore them.
     "ui_auth_sessions",
     "ui_auth_sessions_credentials",
+    "ui_auth_sessions_ips",
 }