summary refs log tree commit diff
path: root/synapse/storage/schema/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-03-29 13:24:47 +0100
committerErik Johnston <erik@matrix.org>2023-03-29 13:24:47 +0100
commit85630ad1f8f3b39e24b848b87d9fefae489b686c (patch)
tree9edc0e262dcae49bfed412dd0b29137ab75e3154 /synapse/storage/schema/__init__.py
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentRevert "Reintroduce membership tables event stream ordering (#15128)" (#15347) (diff)
downloadsynapse-85630ad1f8f3b39e24b848b87d9fefae489b686c.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'synapse/storage/schema/__init__.py')
-rw-r--r--synapse/storage/schema/__init__.py14
1 files changed, 4 insertions, 10 deletions
diff --git a/synapse/storage/schema/__init__.py b/synapse/storage/schema/__init__.py

index a28f2b997c..d3103a6c7a 100644 --- a/synapse/storage/schema/__init__.py +++ b/synapse/storage/schema/__init__.py
@@ -12,7 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. -SCHEMA_VERSION = 75 # remember to update the list below when updating +SCHEMA_VERSION = 74 # remember to update the list below when updating """Represents the expectations made by the codebase about the database schema This should be incremented whenever the codebase changes its requirements on the @@ -91,19 +91,13 @@ Changes in SCHEMA_VERSION = 74: - A query on `event_stream_ordering` column has now been disambiguated (i.e. the codebase can handle the `current_state_events`, `local_current_memberships` and `room_memberships` tables having an `event_stream_ordering` column). - -Changes in SCHEMA_VERSION = 75: - - The `event_stream_ordering` column in membership tables (`current_state_events`, - `local_current_membership` & `room_memberships`) is now being populated for new - rows. When the background job to populate historical rows lands this will - become the compat schema version. """ SCHEMA_COMPAT_VERSION = ( - # Queries against `event_stream_ordering` columns in membership tables must - # be disambiguated. - 74 + # The threads_id column must exist for event_push_actions, event_push_summary, + # receipts_linearized, and receipts_graph. + 73 ) """Limit on how far the synapse codebase can be rolled back without breaking db compat