mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-06 07:56:51 +00:00
Merge pull request #5033 from matrix-org/erikj/fix_schema_delta
Fix schema upgrade when dropping tables
This commit is contained in:
commit
e446921def
2 changed files with 4 additions and 1 deletions
1
changelog.d/5033.misc
Normal file
1
changelog.d/5033.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Remove a number of unused tables from the database schema.
|
|
@ -13,8 +13,10 @@
|
||||||
* limitations under the License.
|
* 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_regex;
|
||||||
|
|
||||||
|
DROP TABLE IF EXISTS application_services;
|
||||||
DROP TABLE IF EXISTS transaction_id_to_pdu;
|
DROP TABLE IF EXISTS transaction_id_to_pdu;
|
||||||
DROP TABLE IF EXISTS stats_reporting;
|
DROP TABLE IF EXISTS stats_reporting;
|
||||||
DROP TABLE IF EXISTS current_state_resets;
|
DROP TABLE IF EXISTS current_state_resets;
|
||||||
|
|
Loading…
Add table
Reference in a new issue