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

Commit a386831

Browse files
author
David Robertson
committed
Bump schema version
This should have been included in f10caa7 (and #14979).
1 parent c78c67c commit a386831

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

synapse/storage/schema/__init__.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
SCHEMA_VERSION = 73 # remember to update the list below when updating
15+
SCHEMA_VERSION = 74 # remember to update the list below when updating
1616
"""Represents the expectations made by the codebase about the database schema
1717
1818
This should be incremented whenever the codebase changes its requirements on the
@@ -78,14 +78,19 @@
7878
- Unused column application_services_state.last_txn is dropped
7979
- Cache invalidation stream id sequence now begins at 2 to match code expectation.
8080
81-
Changes in SCHEMA_VERSION = 73;
81+
Changes in SCHEMA_VERSION = 73:
8282
- thread_id column is added to event_push_actions, event_push_actions_staging
8383
event_push_summary, receipts_linearized, and receipts_graph.
8484
- Add table `event_failed_pull_attempts` to keep track when we fail to pull
8585
events over federation.
8686
- Add indexes to various tables (`event_failed_pull_attempts`, `insertion_events`,
8787
`batch_events`) to make it easy to delete all associated rows when purging a room.
8888
- `inserted_ts` column is added to `event_push_actions_staging` table.
89+
90+
Changes in SCHEMA_VERSION = 74:
91+
- A query on `event_stream_ordering` column has now been disambiguated (i.e. the
92+
codebase can handle the `current_state_events`, `local_current_memberships` and
93+
`room_memberships` tables having an `event_stream_ordering` column).
8994
"""
9095

9196

0 commit comments

Comments
 (0)