From 1cbad378cb778fca879a522916c11d32d80ac84e Mon Sep 17 00:00:00 2001 From: Jed Cunningham <66968678+jedcunningham@users.noreply.github.com> Date: Tue, 15 Feb 2022 16:38:56 -0700 Subject: [PATCH] Reorder migrations to include bugfix in 2.2.4 (#21598) (cherry picked from commit 005cef042bc4184c24ad03c1b4ee40cdbaf96cb5) --- .../versions/587bdf053233_adding_index_for_dag_id_in_job.py | 4 ++-- docs/apache-airflow/migrations-ref.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/airflow/migrations/versions/587bdf053233_adding_index_for_dag_id_in_job.py b/airflow/migrations/versions/587bdf053233_adding_index_for_dag_id_in_job.py index 3532fe9e8df14..c643a6298442a 100644 --- a/airflow/migrations/versions/587bdf053233_adding_index_for_dag_id_in_job.py +++ b/airflow/migrations/versions/587bdf053233_adding_index_for_dag_id_in_job.py @@ -19,7 +19,7 @@ """adding index for dag_id in job Revision ID: 587bdf053233 -Revises: f9da662e7089 +Revises: c381b21cb7e4 Create Date: 2021-12-14 10:20:12.482940 """ @@ -28,7 +28,7 @@ # revision identifiers, used by Alembic. revision = '587bdf053233' -down_revision = 'f9da662e7089' +down_revision = 'c381b21cb7e4' branch_labels = None depends_on = None diff --git a/docs/apache-airflow/migrations-ref.rst b/docs/apache-airflow/migrations-ref.rst index 0eac32999f067..cdaa447dd077a 100644 --- a/docs/apache-airflow/migrations-ref.rst +++ b/docs/apache-airflow/migrations-ref.rst @@ -23,7 +23,7 @@ Here's the list of all the Database Migrations that are executed via when you ru +--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+ | Revision ID | Revises ID | Airflow Version | Description | +--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+ -| ``587bdf053233`` (head) | ``f9da662e7089`` | ``2.3.0`` | Add index for ``dag_id`` column in ``job`` table. | +| ``587bdf053233`` (head) | ``c381b21cb7e4`` | ``2.2.4`` | Add index for ``dag_id`` column in ``job`` table. | +--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+ | ``c381b21cb7e4`` | ``be2bfac3da23`` | ``2.2.4`` | Create a ``session`` table to store web session data | +--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+