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

Commit

Permalink
Drop the unused local_invites table. (#8979)
Browse files Browse the repository at this point in the history
This table has been unused since Synapse v1.17.0.
  • Loading branch information
clokep authored Dec 29, 2020
1 parent a802606 commit d0c3c24
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/8979.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Drop the unused `local_invites` table.
18 changes: 18 additions & 0 deletions synapse/storage/databases/main/schema/delta/58/27local_invites.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* Copyright 2020 The Matrix.org Foundation C.I.C.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

-- This is unused since Synapse v1.17.0.
DROP TABLE local_invites;
1 change: 0 additions & 1 deletion tests/rest/admin/test_room.py
Original file line number Diff line number Diff line change
Expand Up @@ -1598,7 +1598,6 @@ def test_not_enough_power(self):
"event_push_summary",
"pusher_throttle",
"group_summary_rooms",
"local_invites",
"room_account_data",
"room_tags",
# "state_groups", # Current impl leaves orphaned state groups around.
Expand Down

0 comments on commit d0c3c24

Please sign in to comment.