You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2018/06/17 12:50:00 UTC

[jira] [Commented] (AIRFLOW-2606) Test needed to ensure database schema always match SQLAlchemy model types

    [ https://issues.apache.org/jira/browse/AIRFLOW-2606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515066#comment-16515066 ] 

Stefan Seelmann commented on AIRFLOW-2606:
------------------------------------------

PR: https://github.com/apache/incubator-airflow/pull/3516

> 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
>            Assignee: Stefan Seelmann
>            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)