Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

scripts: Print names of missing migrations in compatibility check.

Tim Abbott98a05257eaf4
diff --git a/scripts/lib/check-database-compatibility.py b/scripts/lib/check-database-compatibility.py
index 7596166e097..81efe91dd1d 100755
--- a/scripts/lib/check-database-compatibility.py
+++ b/scripts/lib/check-database-compatibility.py
@@ -26,6 +26,9 @@ for key, migration in loader.disk_migrations.items():
if not missing:
sys.exit(0)
+for migration in missing:
+ print(f"Migration {migration} missing in new version.")
+
current_version = parse_version_from(os.path.join(DEPLOYMENTS_DIR, "current"))
logging.error(
"This is not an upgrade -- the current deployment (version %s) "