You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/01/11 20:27:50 UTC
[GitHub] Fokko commented on issue #4488: [AIRFLOW-3678] Fixes 'airflow
resetdb' for initialized Postgres DB
Fokko commented on issue #4488: [AIRFLOW-3678] Fixes 'airflow resetdb' for initialized Postgres DB
URL: https://github.com/apache/airflow/pull/4488#issuecomment-453647443
Good catch @potiuk
Since the `dag_stats` is gone, we should also remove all the migrations:
```
MacBook-Pro-van-Fokko:incubator-airflow fokkodriesprong$ grep -R "dag_stats" airflow/migrations/
airflow/migrations//versions/a56c9515abdc_remove_dag_stat_table.py: op.drop_table("dag_stats")
airflow/migrations//versions/a56c9515abdc_remove_dag_stat_table.py: op.create_table('dag_stats',
Binary file airflow/migrations//versions/__pycache__/f2ca10b85618_add_dag_stats_table.cpython-37.pyc matches
Binary file airflow/migrations//versions/__pycache__/f2ca10b85618_add_dag_stats_table.cpython-36.pyc matches
airflow/migrations//versions/f2ca10b85618_add_dag_stats_table.py:"""add dag_stats table
airflow/migrations//versions/f2ca10b85618_add_dag_stats_table.py: op.create_table('dag_stats',
airflow/migrations//versions/f2ca10b85618_add_dag_stats_table.py: op.drop_table('dag_stats')
```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services