summary refs log tree commit diff
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-05-08 16:04:32 +0100
committerMark Haines <mark.haines@matrix.org>2015-05-08 16:04:32 +0100
commit1c7912751ea53e115722bb81383734f06d2aa69d (patch)
treed2b772f3978e1cefd052446a65d27835427f6288
parentRename unique constraint (diff)
downloadsynapse-1c7912751ea53e115722bb81383734f06d2aa69d.tar.xz
Drop the old table not the new table
-rw-r--r--synapse/storage/schema/delta/18/server_keys_bigger_ints.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/schema/delta/18/server_keys_bigger_ints.sql b/synapse/storage/schema/delta/18/server_keys_bigger_ints.sql
index 566470ac6f..c0b0fdfb69 100644
--- a/synapse/storage/schema/delta/18/server_keys_bigger_ints.sql
+++ b/synapse/storage/schema/delta/18/server_keys_bigger_ints.sql
@@ -27,6 +27,6 @@ CREATE TABLE IF NOT EXISTS new_server_keys_json (
 INSERT INTO new_server_keys_json
     SELECT server_name, key_id, from_server,ts_added_ms, ts_valid_until_ms, key_json FROM server_keys_json ;
 
-DROP TABLE new_server_keys_json;
+DROP TABLE server_keys_json;
 
 ALTER TABLE new_server_keys_json RENAME TO server_keys_json;