Skip to content

Commit

Permalink
Move 2.9.1 migration between 2.9.0 and 2.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajkoti committed Apr 29, 2024
1 parent 5f240b5 commit 8cd2f08
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
Expand Up @@ -30,8 +30,8 @@
from contextlib import suppress

# revision identifiers, used by Alembic.
revision = 'bff083ad727d'
down_revision = '677fdbb7fc54'
revision = "bff083ad727d"
down_revision = "1949afb29106"
branch_labels = None
depends_on = None
airflow_version = "2.9.1"
Expand Down
Expand Up @@ -29,11 +29,11 @@


# revision identifiers, used by Alembic.
revision = '677fdbb7fc54'
down_revision = '1949afb29106'
revision = "677fdbb7fc54"
down_revision = "bff083ad727d"
branch_labels = None
depends_on = None
airflow_version = '2.10.0'
airflow_version = "2.10.0"


def upgrade():
Expand Down
2 changes: 2 additions & 0 deletions airflow/utils/db.py
Expand Up @@ -91,6 +91,8 @@
"2.8.0": "10b52ebd31f7",
"2.8.1": "88344c1d9134",
"2.9.0": "1949afb29106",
"2.9.1": "bff083ad727d",
"2.10.0": "677fdbb7fc54",
}


Expand Down
2 changes: 1 addition & 1 deletion docs/apache-airflow/img/airflow_erd.sha256
@@ -1 +1 @@
f7798142576b0103d497fc40269f50a4686ae27eb9ec4a9356b1225b6c848208
e4ac9bf44eaad1f0be0c346d9c631ce8921fe245f8981a2f5d3b642ec943ac22
4 changes: 2 additions & 2 deletions docs/apache-airflow/img/airflow_erd.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions docs/apache-airflow/migrations-ref.rst
Expand Up @@ -39,10 +39,10 @@ Here's the list of all the Database Migrations that are executed via when you ru
+---------------------------------+-------------------+-------------------+--------------------------------------------------------------+
| Revision ID | Revises ID | Airflow Version | Description |
+=================================+===================+===================+==============================================================+
| ``bff083ad727d`` (head) | ``677fdbb7fc54`` | ``2.9.1`` | Remove ``idx_last_scheduling_decision`` index on |
| | | | last_scheduling_decision in dag_run table |
| ``677fdbb7fc54`` (head) | ``bff083ad727d`` | ``2.10.0`` | add new executor field to db |
+---------------------------------+-------------------+-------------------+--------------------------------------------------------------+
| ``677fdbb7fc54`` | ``1949afb29106`` | ``2.10.0`` | add new executor field to db |
| ``bff083ad727d`` | ``1949afb29106`` | ``2.9.1`` | Remove ``idx_last_scheduling_decision`` index on |
| | | | last_scheduling_decision in dag_run table |
+---------------------------------+-------------------+-------------------+--------------------------------------------------------------+
| ``1949afb29106`` | ``ee1467d4aa35`` | ``2.9.0`` | update trigger kwargs type and encrypt |
+---------------------------------+-------------------+-------------------+--------------------------------------------------------------+
Expand Down

0 comments on commit 8cd2f08

Please sign in to comment.