Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1186,17 +1186,6 @@ repos:
\bab_register_user\b
pass_filenames: true
files: ^airflow-core/src/airflow/migrations/versions/.*\.py$
# These migrations contain FAB related changes but existed before moving FAB auth manager
# to its own provider
exclude: >
(?ix)^(
airflow-core/src/airflow/migrations/versions/00.*\.py|
airflow-core/src/airflow/migrations/versions/0106.*\.py|
airflow-core/src/airflow/migrations/versions/0118.*\.py|
airflow-core/src/airflow/migrations/versions/0119.*\.py|
airflow-core/src/airflow/migrations/versions/0121.*\.py|
airflow-core/src/airflow/migrations/versions/0124.*\.py
)$
## ADD MOST PRE-COMMITS ABOVE THAT LINE
# The below pre-commits are those requiring CI image to be built
- id: mypy-dev
Expand Down
2 changes: 1 addition & 1 deletion airflow-core/docs/img/airflow_erd.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5ee140103f80a15dc6cc7c808a49c415901a7c062d2cab9d26d49abd86e82aea
58a5baed7e6b3aee53ffbf3c352b114d2efe41fea006afb025ecb4697d60243e
4 changes: 1 addition & 3 deletions airflow-core/docs/migrations-ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,9 @@ Here's the list of all the Database Migrations that are executed via when you ru
+-------------------------+------------------+-------------------+--------------------------------------------------------------+
| ``0bfc26bc256e`` | ``d0f1c55954fa`` | ``3.0.0`` | Rename DagModel schedule_interval to timetable_summary. |
+-------------------------+------------------+-------------------+--------------------------------------------------------------+
| ``d0f1c55954fa`` | ``044f740568ec`` | ``3.0.0`` | Remove SubDAGs: ``is_subdag`` & ``root_dag_id`` columns from |
| ``d0f1c55954fa`` | ``5f2621c13b39`` | ``3.0.0`` | Remove SubDAGs: ``is_subdag`` & ``root_dag_id`` columns from |
| | | | DAG table. |
+-------------------------+------------------+-------------------+--------------------------------------------------------------+
| ``044f740568ec`` | ``5f2621c13b39`` | ``3.0.0`` | Drop ab_user.id foreign key. |
+-------------------------+------------------+-------------------+--------------------------------------------------------------+
| ``5f2621c13b39`` | ``22ed7efa9da2`` | ``2.10.3`` | Rename dag_schedule_dataset_alias_reference constraint |
| | | | names. |
+-------------------------+------------------+-------------------+--------------------------------------------------------------+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Remove SubDAGs: ``is_subdag`` & ``root_dag_id`` columns from DAG table.

Revision ID: d0f1c55954fa
Revises: 044f740568ec
Revises: 5f2621c13b39
Create Date: 2024-08-11 21:32:40.576172

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

# revision identifiers, used by Alembic.
revision = "d0f1c55954fa"
down_revision = "044f740568ec"
down_revision = "5f2621c13b39"
branch_labels = None
depends_on = None
airflow_version = "3.0.0"
Expand Down
12 changes: 7 additions & 5 deletions providers/fab/docs/migrations-ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ Here's the list of all the Database Migrations that are executed via when you ru
.. All table elements are scraped from migration files
.. Beginning of auto-generated table

+-------------------------+--------------+---------------+------------------------+
| Revision ID | Revises ID | Fab Version | Description |
+=========================+==============+===============+========================+
| ``6709f7a774b9`` (head) | ``None`` | ``1.4.0`` | placeholder migration. |
+-------------------------+--------------+---------------+------------------------+
+-------------------------+------------------+---------------+------------------------------+
| Revision ID | Revises ID | Fab Version | Description |
+=========================+==================+===============+==============================+
| ``044f740568ec`` (head) | ``6709f7a774b9`` | ``2.0.0`` | Drop ab_user.id foreign key. |
+-------------------------+------------------+---------------+------------------------------+
| ``6709f7a774b9`` (base) | ``None`` | ``1.4.0`` | placeholder migration. |
+-------------------------+------------------+---------------+------------------------------+

.. End of auto-generated table

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

_REVISION_HEADS_MAP: dict[str, str] = {
"1.4.0": "6709f7a774b9",
"2.0.0": "044f740568ec",
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
Drop ab_user.id foreign key.

Revision ID: 044f740568ec
Revises: 5f2621c13b39
Revises: 6709f7a774b9
Create Date: 2024-08-02 07:18:29.830521

"""
Expand All @@ -31,9 +31,10 @@

# revision identifiers, used by Alembic.
revision = "044f740568ec"
down_revision = "5f2621c13b39"
down_revision = "6709f7a774b9"
branch_labels = None
depends_on = None
fab_version = "2.0.0"
airflow_version = "3.0.0"


Expand Down