mirror of
https://github.com/zulip/zulip.git
synced 2025-11-15 11:22:04 +00:00
check-database-compatibility: Sort and prettify output.
(cherry picked from commit 09860dc284)
This commit is contained in:
@@ -73,8 +73,9 @@ for key, migration in loader.disk_migrations.items():
|
|||||||
if not missing:
|
if not missing:
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
for migration in missing:
|
print("Migrations which are currently applied, but missing in the new version:")
|
||||||
print(f"Migration {migration} missing in new version.")
|
for app, migration_name in sorted(missing):
|
||||||
|
print(f" {app} - {migration_name}")
|
||||||
|
|
||||||
current_version = parse_version_from(os.path.join(DEPLOYMENTS_DIR, "current"))
|
current_version = parse_version_from(os.path.join(DEPLOYMENTS_DIR, "current"))
|
||||||
logging.error(
|
logging.error(
|
||||||
|
|||||||
Reference in New Issue
Block a user