Adaverse commented on code in PR #32810: URL: https://github.com/apache/airflow/pull/32810#discussion_r1278289460
########## 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: Added notes in a few important places for context. -- 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]
