eladkal commented on a change in pull request #19993:
URL: https://github.com/apache/airflow/pull/19993#discussion_r762755536
##########
File path: docs/apache-airflow/installation/upgrading.rst
##########
@@ -79,6 +79,19 @@ table or rename it or move it to another database using
those tools. If you don'
can use the ``airflow db shell`` command - this will drop you in the db shell
tool for your database and you
will be able to both inspect and delete the table.
+Alternatively, you can drop the table by following the steps below:
+
+
+1. Exec into any of the Airflow pods - webserver or scheduler: ``kubectl exec
-it <your-webserver-pod> python``
+
+2. Run the following commands in the python shell:
+
+ .. code-block:: python
+ from airflow.settings import Session
+ session = Session()
Review comment:
```suggestion
from airflow.settings import Session
session = Session()
```
--
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]