mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Code style (Black)
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
This commit is contained in:
parent
62a1639287
commit
d1e0b91083
@ -243,9 +243,7 @@ def _upgrade_existing_database(
|
|||||||
else:
|
else:
|
||||||
specific_engine_extension = ".sqlite"
|
specific_engine_extension = ".sqlite"
|
||||||
|
|
||||||
specific_engine_extensions = (
|
specific_engine_extensions = (".sqlite", ".postgres")
|
||||||
".sqlite", ".postgres"
|
|
||||||
)
|
|
||||||
|
|
||||||
for v in range(start_ver, SCHEMA_VERSION + 1):
|
for v in range(start_ver, SCHEMA_VERSION + 1):
|
||||||
logger.info("Upgrading schema to v%d", v)
|
logger.info("Upgrading schema to v%d", v)
|
||||||
|
Loading…
Reference in New Issue
Block a user