uranusjr commented on code in PR #32810:
URL: https://github.com/apache/airflow/pull/32810#discussion_r1278662251


##########
scripts/docker/entrypoint_prod.sh:
##########
@@ -283,8 +283,8 @@ if [[ "${CONNECTION_CHECK_MAX_COUNT}" -gt "0" ]]; then
     wait_for_airflow_db
 fi
 
-if [[ -n "${_AIRFLOW_DB_UPGRADE=}" ]] ; then
-    upgrade_db
+if [[ -n "${_AIRFLOW_DB_UPGRADE=}" ]] || [[ -n "${_AIRFLOW_DB_MIGRATE=}" ]] ; 
then

Review Comment:
   Should we add a warning if the `UPGRADE` environment variable is used?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to