You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/02/18 13:49:52 UTC

[GitHub] [airflow] potiuk commented on a change in pull request #21666: Change upgrade to init

potiuk commented on a change in pull request #21666:
URL: https://github.com/apache/airflow/pull/21666#discussion_r810015790



##########
File path: docs/apache-airflow/installation/setting-up-the-database.rst
##########
@@ -22,7 +22,7 @@ Airflow requires a database. If you're just experimenting and learning Airflow,
 default SQLite option. If you don't want to use SQLite, then take a look at
 :doc:`/howto/set-up-database` to setup a different database.
 
-Usually, you need to run ``airflow db upgrade`` in order to create the database schema that Airflow can use.
+Usually, you need to run ``airflow db init`` in order to create the database schema that Airflow can use.

Review comment:
       Well. This is not entirely true. 
   
   * `airflow db upgrade` creates DB schema 
   * `airflow db init` also does what upgrade does but it also adds default connections for example - which might be not expected. 
   
   I'd say we should describe both usages here.
   




-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org