potiuk commented on issue #4488: [AIRFLOW-3678] Fixes 'airflow resetdb' for initialized Postgres DB URL: https://github.com/apache/airflow/pull/4488#issuecomment-453775167 OK. I think I will close it for now as it's not really needed at least for me and the corner case is rather obscure. I moved our docker file to after dag_state table deletion and everything works fine. For sure something to consider in 2.0. But I would say maybe what should happen rather than deleting old scripts is to generate an initial 2.0 script that all the future installations can start from (and continue with alembic migrations). Currently we have a long history of migrations and for example for Spanner (where DDL operations are slow) it takes 40+ minutes to run the migrations. I am not sure Alembic has good support for such initial. Something at least worth considering - maybe I will be looking into it soon.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
