You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/03/19 15:06:10 UTC
[airflow] 08/42: Sync DB Migrations in Master with 2.0.1 (#14155)
This is an automated email from the ASF dual-hosted git repository.
ash pushed a commit to branch v2-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 05326e22cfa9532601cb097417b8a8b8cd535ca8
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Tue Feb 9 21:01:46 2021 +0000
Sync DB Migrations in Master with 2.0.1 (#14155)
`449b4072c2da_increase_size_of_connection_extra_field_.py` does not exist in 2.0.1
so we need to update down_migration
```
INFO [alembic.runtime.migration] Running upgrade 2c6edca13270 -> 61ec73d9401f, Add description field to connection
INFO [alembic.runtime.migration] Running upgrade 61ec73d9401f -> 64a7d6477aae, fix description field in connection to be text
INFO [alembic.runtime.migration] Running upgrade 64a7d6477aae -> e959f08ac86c, Change field in DagCode to MEDIUMTEXT for MySql
INFO [alembic.runtime.migration] Running upgrade e959f08ac86c -> 82b7c48c147f, Remove can_read permission on config resource for User and Viewer role
[2021-02-09 19:17:31,307] {migration.py:555} INFO - Running upgrade 82b7c48c147f -> 449b4072c2da, Increase size of connection.extra field to handle multiple RSA keys
```
(cherry picked from commit e7f176d2dccbc18005db01f97952757c624ef233)
---
.../versions/449b4072c2da_increase_size_of_connection_extra_field_.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/migrations/versions/449b4072c2da_increase_size_of_connection_extra_field_.py b/airflow/migrations/versions/449b4072c2da_increase_size_of_connection_extra_field_.py
index d3d9432..808d435 100644
--- a/airflow/migrations/versions/449b4072c2da_increase_size_of_connection_extra_field_.py
+++ b/airflow/migrations/versions/449b4072c2da_increase_size_of_connection_extra_field_.py
@@ -19,7 +19,7 @@
"""Increase size of connection.extra field to handle multiple RSA keys
Revision ID: 449b4072c2da
-Revises: e959f08ac86c
+Revises: 82b7c48c147f
Create Date: 2020-03-16 19:02:55.337710
"""
@@ -29,7 +29,7 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = '449b4072c2da'
-down_revision = 'e959f08ac86c'
+down_revision = '82b7c48c147f'
branch_labels = None
depends_on = None