entrypoint: Fix confusing output string about migrations.

"Migrating Zulip to new version" sounds very general and unclear about
what step is actually happening - easy to even confuse with a full
server upgrade being run. This should be explicit that this is about db
migrations.
This commit is contained in:
Mateusz Mandera
2025-02-13 01:36:20 +08:00
committed by Tim Abbott
parent 0ab4061d1b
commit 0d712d5151

View File

@@ -366,7 +366,7 @@ zulipFirstStartInit() {
echo "Zulip first start init sucessful."
}
zulipMigration() {
echo "Migrating Zulip to new version ..."
echo "Running new database migrations..."
set +e
su zulip -c "/home/zulip/deployments/current/manage.py migrate --noinput"
local RETURN_CODE=$?
@@ -377,7 +377,7 @@ zulipMigration() {
set -e
rm -rf "$DATA_DIR/.zulip-*"
touch "$DATA_DIR/.zulip-$ZULIP_VERSION"
echo "Zulip migration succeeded."
echo "Database migrations completed."
}
runPostSetupScripts() {
echo "Post setup scripts execution ..."