potiuk commented on code in PR #32810: URL: https://github.com/apache/airflow/pull/32810#discussion_r1278152738
########## docs/apache-airflow/administration-and-deployment/production-deployment.rst: ########## @@ -43,14 +43,9 @@ Once that is done, you can run - .. code-block:: bash - airflow db upgrade + airflow db migrate -``upgrade`` keeps track of migrations already applied, so it's safe to run as often as you need. - -.. note:: - - Do not use ``airflow db init`` as it can create a lot of default connections, charts, etc. which are not - required in production DB. +``migrate`` keeps track of migrations already applied, so it's safe to run as often as you need. Review Comment: It would be great to add in ` .. note` here that formerly it was `upgrade`. (before 2.7) some people will look at latest version of the docs and try with older airflow version - note here and in other places of the .rst docs might be useful. -- 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]
