This is an automated email from the ASF dual-hosted git repository. potiuk pushed a commit to branch v1-10-test in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v1-10-test by this push: new 6a245a5 Update commands in docs for v1.10+ (#9585) 6a245a5 is described below commit 6a245a52de0c84257a7867c0937f5b51e86efe23 Author: Kamil BreguĊa <mik-...@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