mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-14 12:23:48 +01:00
parent
86a497efaa
commit
0c82d4aabe
2 changed files with 2 additions and 1 deletions
1
changelog.d/11276.bugfix
Normal file
1
changelog.d/11276.bugfix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix rolling back Synapse version when using workers.
|
|
@ -142,7 +142,7 @@ def prepare_database(
|
||||||
databases=databases,
|
databases=databases,
|
||||||
)
|
)
|
||||||
elif version_info.current_version < SCHEMA_VERSION:
|
elif version_info.current_version < SCHEMA_VERSION:
|
||||||
# If the DB is on an older version than we expect the we refuse
|
# If the DB is on an older version than we expect then we refuse
|
||||||
# to start the worker (as the main process needs to run first to
|
# to start the worker (as the main process needs to run first to
|
||||||
# update the schema).
|
# update the schema).
|
||||||
raise UpgradeDatabaseException(
|
raise UpgradeDatabaseException(
|
||||||
|
|
Loading…
Reference in a new issue