[ https://issues.apache.org/jira/browse/AIRFLOW-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joy Gao updated AIRFLOW-2606: ----------------------------- Summary: Test needed to ensure database schema always match SQLAlchemy model types (was: Test needed to ensure database schema always match SQLAlchemy models) > Test needed to ensure database schema always match SQLAlchemy model types > ------------------------------------------------------------------------- > > Key: AIRFLOW-2606 > URL: https://issues.apache.org/jira/browse/AIRFLOW-2606 > Project: Apache Airflow > Issue Type: Improvement > Reporter: Joy Gao > Priority: Major > > An issue was discovered by [this > PR|https://github.com/apache/incubator-airflow/pull/3492#issuecomment-396815203] > where database schema does not match its corresponding SQLAlchemy model > declaration. We should add generic unit test for this to prevent similar bugs > from occurring in the future. (Alternatively, we can add the policing logic > to `airflow upgradedb` command so each migrations can do the check) -- This message was sent by Atlassian JIRA (v7.6.3#76005)