You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2020/06/30 10:21:58 UTC
[airflow] 02/06: Update commands in docs for v1.10+ (#9585)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 0e68769a92f6c69560c02a9430c47c22c2d6c9d8
Author: Kamil BreguĊa <mi...@users.noreply.github.com>
AuthorDate: Tue Jun 30 10:07:00 2020 +0200
Update commands in docs for v1.10+ (#9585)
---
docs/best-practices.rst | 4 ++--
docs/dag-serialization.rst | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/best-practices.rst b/docs/best-practices.rst
index d3405ef..4a75fb4 100644
--- a/docs/best-practices.rst
+++ b/docs/best-practices.rst
@@ -241,13 +241,13 @@ Once that is done, you can run -
.. code::
- airflow db upgrade
+ airflow upgradedb
``upgrade`` keeps track of migrations already applies, 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 connection, charts, etc. which are not required in production DB.
+ Do not use ``airflow initdb`` as it can create a lot of default connection, charts, etc. which are not required in production DB.
Multi-Node Cluster
diff --git a/docs/dag-serialization.rst b/docs/dag-serialization.rst
index 7802a09..f28fbf9 100644
--- a/docs/dag-serialization.rst
+++ b/docs/dag-serialization.rst
@@ -66,7 +66,7 @@ Add the following settings in ``airflow.cfg``:
* ``store_dag_code``: This flag decides whether to persist DAG files code in DB.
If set to True, Webserver reads file contents from DB instead of trying to access files in a DAG folder.
-If you are updating Airflow from <1.10.7, please do not forget to run ``airflow db upgrade``.
+If you are updating Airflow from <1.10.7, please do not forget to run ``airflow upgradedb``.
Limitations