Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reorder migrations to include bugfix in 2.2.4 #21598

Merged
merged 1 commit into from Feb 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -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

"""
Expand All @@ -28,7 +28,7 @@

# revision identifiers, used by Alembic.
revision = '587bdf053233'
down_revision = 'f9da662e7089'
down_revision = 'c381b21cb7e4'
branch_labels = None
depends_on = None

Expand Down
Expand Up @@ -19,7 +19,7 @@
"""Increase length of email and username

Revision ID: 5e3ec427fdd3
Revises: c381b21cb7e4
Revises: 587bdf053233
Create Date: 2021-12-01 11:49:26.390210

"""
Expand All @@ -29,7 +29,7 @@

# revision identifiers, used by Alembic.
revision = '5e3ec427fdd3'
down_revision = 'c381b21cb7e4'
down_revision = '587bdf053233'
branch_labels = None
depends_on = None

Expand Down
Expand Up @@ -19,7 +19,7 @@
"""Add TaskMap and map_index on TaskInstance.

Revision ID: e655c0453f75
Revises: 587bdf053233
Revises: f9da662e7089
Create Date: 2021-12-13 22:59:41.052584
"""

Expand All @@ -31,7 +31,7 @@

# Revision identifiers, used by Alembic.
revision = "e655c0453f75"
down_revision = "587bdf053233"
down_revision = "f9da662e7089"
branch_labels = None
depends_on = None

Expand Down
8 changes: 4 additions & 4 deletions docs/apache-airflow/migrations-ref.rst
Expand Up @@ -25,18 +25,18 @@ Here's the list of all the Database Migrations that are executed via when you ru
+--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+
| ``a3bcd0914482`` (head) | ``e655c0453f75`` | ``2.3.0`` | Add ``data_compressed`` to serialized_dag and make data column nullable. |
+--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+
| ``e655c0453f75`` | ``587bdf053233`` | ``2.3.0`` | Add ``map_index`` column to TaskInstance to identify task-mapping, and a ``task_map`` |
| ``e655c0453f75`` | ``f9da662e7089`` | ``2.3.0`` | Add ``map_index`` column to TaskInstance to identify task-mapping, and a ``task_map`` |
| | | | table to track mapping values from XCom. |
+--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+
| ``587bdf053233`` | ``f9da662e7089`` | ``2.3.0`` | Add index for ``dag_id`` column in ``job`` table. |
+--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+
| ``f9da662e7089`` | ``786e3737b18f`` | ``2.3.0`` | Add ``LogTemplate`` table to track changes to config values ``log_filename_template`` |
+--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+
| ``786e3737b18f`` | ``5e3ec427fdd3`` | ``2.3.0`` | Add ``timetable_description`` column to DagModel for UI. |
+--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+
| ``5e3ec427fdd3`` | ``c381b21cb7e4`` | ``2.3.0`` | Increase length of email and username in ``ab_user`` and ``ab_register_user`` table |
| ``5e3ec427fdd3`` | ``587bdf053233`` | ``2.3.0`` | Increase length of email and username in ``ab_user`` and ``ab_register_user`` table |
| | | | to ``256`` characters |
+--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+
| ``587bdf053233`` | ``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 |
+--------------------------------+------------------+-----------------+---------------------------------------------------------------------------------------+
| ``be2bfac3da23`` | ``7b2661a43ba3`` | ``2.2.3`` | Add has_import_errors column to DagModel |
Expand Down