diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-05-08 16:04:32 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-05-08 16:04:32 +0100 |
commit | 1c7912751ea53e115722bb81383734f06d2aa69d (patch) | |
tree | d2b772f3978e1cefd052446a65d27835427f6288 /synapse/storage/schema | |
parent | Rename unique constraint (diff) | |
download | synapse-1c7912751ea53e115722bb81383734f06d2aa69d.tar.xz |
Drop the old table not the new table
Diffstat (limited to 'synapse/storage/schema')
-rw-r--r-- | synapse/storage/schema/delta/18/server_keys_bigger_ints.sql | 2 |
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; |