mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-27 06:29:24 -05:00
Drop unused table public_room_list_stream
. (#11795)
This is a follow-up to #10565.
This commit is contained in:
parent
2277275485
commit
9f2016e96e
1
changelog.d/11795.misc
Normal file
1
changelog.d/11795.misc
Normal file
@ -0,0 +1 @@
|
||||
Drop unused table `public_room_list_stream`.
|
@ -390,7 +390,6 @@ class PurgeEventsStore(StateGroupWorkerStore, CacheInvalidationWorkerStore):
|
||||
"event_search",
|
||||
"events",
|
||||
"group_rooms",
|
||||
"public_room_list_stream",
|
||||
"receipts_graph",
|
||||
"receipts_linearized",
|
||||
"room_aliases",
|
||||
|
@ -60,7 +60,9 @@ Changes in SCHEMA_VERSION = 68:
|
||||
|
||||
|
||||
SCHEMA_COMPAT_VERSION = (
|
||||
61 # 61: Remove unused tables `user_stats_historical` and `room_stats_historical`
|
||||
# we have removed the public_room_list_stream table, so are now incompatible with
|
||||
# synapses wth SCHEMA_VERSION < 63.
|
||||
63
|
||||
)
|
||||
"""Limit on how far the synapse codebase can be rolled back without breaking db compat
|
||||
|
||||
|
@ -0,0 +1,18 @@
|
||||
/* Copyright 2022 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 table is unused as of Synapse 1.41
|
||||
DROP TABLE public_room_list_stream;
|
||||
|
@ -2468,7 +2468,6 @@ PURGE_TABLES = [
|
||||
"event_search",
|
||||
"events",
|
||||
"group_rooms",
|
||||
"public_room_list_stream",
|
||||
"receipts_graph",
|
||||
"receipts_linearized",
|
||||
"room_aliases",
|
||||
|
Loading…
Reference in New Issue
Block a user