docker-airflow icon indicating copy to clipboard operation
docker-airflow copied to clipboard

airflow upgradedb issue

Open naveenkt59 opened this issue 4 years ago • 1 comments

Hi Airflow Team, I am trying to upgrade db using "airflow upgradedb" command on version 1.10.2.My question is what if the upgradedb is done for airflow version 1.10.2,and if the user wants to move back to version 1.9.0 and again performs upgradedb on the same database,then it has to fail due to alembic revision tags missing issue. Shouldn't there be a way saying that tables for version 1.9.0 is already available hence upgrade should successfully pass? The reason why am asking is the my db is already upgraded for version 1.10.2 when i was deploying airflow into EC2 but now am deploying airflow (version 1.8 to 1.9.0) into kubernetes pods acting on the same database,it says revision tags "41f5f12752f8" are missing.

naveenkt59 avatar Oct 10 '19 06:10 naveenkt59

@naveenkt59 did you ever figure this out?

mkwatson avatar Jul 30 '20 21:07 mkwatson