jdistler opened a new pull request, #37231:
URL: https://github.com/apache/airflow/pull/37231

   The upgrade docs section concerning [Offline SQL migration 
scripts](https://airflow.apache.org/docs/apache-airflow/stable/installation/upgrading.html#offline-sql-migration-scripts)
 are incorrect and reference cli args which are not supported by the latest 
release of airflow -
   
   <img width="1139" alt="Screenshot 2024-02-07 at 1 12 31 PM" 
src="https://github.com/apache/airflow/assets/9872693/1313aa99-b803-4036-bf88-198a3619197d";>
   
   The args `-r` and `--revision-range` are [dead code with no 
references](https://github.com/apache/airflow/blob/2.8.1/airflow/cli/cli_config.py#L216-L227)
 (to be cleaned up in a subsequent PR). These args are not used by the `airflow 
db migrate` command. The [true set of args are 
these](https://github.com/apache/airflow/blob/2.8.1/airflow/cli/cli_config.py#L1539-L1545).
   
   I have updated the documentation to reflect that users should actually be 
using the flags `--show-sql-only` and `--from-version`.


-- 
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-unsubscr...@airflow.apache.org

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

Reply via email to