forked from MirrorHub/synapse
Drop the old table not the new table
This commit is contained in:
parent
9d36eb4eab
commit
1c7912751e
1 changed files with 1 additions and 1 deletions
|
@ -27,6 +27,6 @@ CREATE TABLE IF NOT EXISTS new_server_keys_json (
|
||||||
INSERT INTO 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 ;
|
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;
|
ALTER TABLE new_server_keys_json RENAME TO server_keys_json;
|
||||||
|
|
Loading…
Reference in a new issue