You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Xinbin Huang (Jira)" <ji...@apache.org> on 2019/12/05 20:51:00 UTC
[jira] [Updated] (AIRFLOW-6185) SQLAlchemy Connection model schema
not aligned with Alembic schema
[ https://issues.apache.org/jira/browse/AIRFLOW-6185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xinbin Huang updated AIRFLOW-6185:
----------------------------------
Description:
The SQLAlchemy model for the `Connection` table declare password as `String(5000)` while Alembic migration script (i.e. `current_schema.py`) declare password as `String(length=500)`
* Alembic schema: [https://github.com/apache/airflow/blob/ce873afc22efee171a320344b5cbee657018aed0/airflow/migrations/versions/e3a246e0dc1_current_schema.py#L54]
* models/connections.py
[https://github.com/apache/airflow/blob/ce873afc22efee171a320344b5cbee657018aed0/airflow/models/connection.py#L62]
was:
The SQLAlchemy model for the for the `Connection` table declare password as `String(5000)` while Alembic migration script (i.e. `current_schema.py`) declare password as `String(length=500)`
* Alembic schema: [https://github.com/apache/airflow/blob/ce873afc22efee171a320344b5cbee657018aed0/airflow/migrations/versions/e3a246e0dc1_current_schema.py#L54]
* models/connections.py
https://github.com/apache/airflow/blob/ce873afc22efee171a320344b5cbee657018aed0/airflow/models/connection.py#L62
> SQLAlchemy Connection model schema not aligned with Alembic schema
> ------------------------------------------------------------------
>
> Key: AIRFLOW-6185
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6185
> Project: Apache Airflow
> Issue Type: Bug
> Components: database
> Affects Versions: 1.10.6
> Reporter: Xinbin Huang
> Priority: Blocker
>
> The SQLAlchemy model for the `Connection` table declare password as `String(5000)` while Alembic migration script (i.e. `current_schema.py`) declare password as `String(length=500)`
> * Alembic schema: [https://github.com/apache/airflow/blob/ce873afc22efee171a320344b5cbee657018aed0/airflow/migrations/versions/e3a246e0dc1_current_schema.py#L54]
> * models/connections.py
> [https://github.com/apache/airflow/blob/ce873afc22efee171a320344b5cbee657018aed0/airflow/models/connection.py#L62]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)