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

Move 'remove deleted devices' migration to latest schema version#11304

Closed
anoadragon453 wants to merge 2 commits into
developfrom
anoa/move_db_schema_migration
Closed

Move 'remove deleted devices' migration to latest schema version#11304
anoadragon453 wants to merge 2 commits into
developfrom
anoa/move_db_schema_migration

Conversation

@anoadragon453
Copy link
Copy Markdown
Member

This migration file was included as part of #10969 and at the time of the PR's creation, the latest schema version was 64. When the PR was merged, the latest version was 65, however the migration was not moved. This meant that Synapse's on schema version 65 would not run the migration after updating.

This PR moves the migration file to the latest schema, 65. It is OK if this SQL runs twice, as it simply kicks off a background table cleanup process.

Thanks to @dklimpel for spotting it.

This migration file was included as part of an old PR, and at the time of the PR's creation,
the latest schema version was 64. When the PR was merged, the latest version was 65, however
the migration was not moved. This meant that Synapse's on schema version 65 would not run
the migration after updating.

Move the migration file to the latest schema, 65. It is OK if this SQL runs twice, as it
simply kicks off a background table cleanup process.
@anoadragon453 anoadragon453 marked this pull request as ready for review November 11, 2021 10:27
@anoadragon453 anoadragon453 requested a review from a team as a code owner November 11, 2021 10:27
@erikjohnston
Copy link
Copy Markdown
Member

Is this not a duplicate of #11303

@anoadragon453
Copy link
Copy Markdown
Member Author

Is this not a duplicate of #11303

Oh bother. Yes, yes it is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants