Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix schema upgrade when dropping tables #5033

Merged
merged 2 commits into from
Apr 10, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/5033.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove a number of unused tables from the database schema.
4 changes: 3 additions & 1 deletion synapse/storage/schema/delta/54/drop_legacy_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
* limitations under the License.
*/

DROP TABLE IF EXISTS application_services;
-- we need to do this first due to foreign constraints
DROP TABLE IF EXISTS application_services_regex;

DROP TABLE IF EXISTS application_services;
DROP TABLE IF EXISTS transaction_id_to_pdu;
DROP TABLE IF EXISTS stats_reporting;
DROP TABLE IF EXISTS current_state_resets;
Expand Down