You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by sh...@apache.org on 2025/02/01 13:19:12 UTC

(airflow) branch main updated: Remove Alembic migration autogenerated comment (#46322)

This is an automated email from the ASF dual-hosted git repository.

shahar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 88b76aaee50 Remove Alembic migration autogenerated comment  (#46322)
88b76aaee50 is described below

commit 88b76aaee509054f4993de5c89f2612b468b9789
Author: LIU ZHE YOU <68...@users.noreply.github.com>
AuthorDate: Sat Feb 1 21:19:05 2025 +0800

    Remove Alembic migration autogenerated comment  (#46322)
    
    * Remove Alembic migration autogenerated comment in #46009
    
    * Add new erd hash
---
 .../versions/0057_3_0_0_add_new_task_instance_field_scheduled_.py   | 6 ------
 docs/apache-airflow/img/airflow_erd.sha256                          | 2 +-
 2 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/airflow/migrations/versions/0057_3_0_0_add_new_task_instance_field_scheduled_.py b/airflow/migrations/versions/0057_3_0_0_add_new_task_instance_field_scheduled_.py
index 3f464e45d7c..ca071a18d0d 100644
--- a/airflow/migrations/versions/0057_3_0_0_add_new_task_instance_field_scheduled_.py
+++ b/airflow/migrations/versions/0057_3_0_0_add_new_task_instance_field_scheduled_.py
@@ -42,23 +42,17 @@ airflow_version = "3.0.0"
 
 def upgrade():
     """Apply add new task_instance field scheduled_dttm."""
-    # ### commands auto generated by Alembic - please adjust! ###
     with op.batch_alter_table("task_instance", schema=None) as batch_op:
         batch_op.add_column(sa.Column("scheduled_dttm", UtcDateTime(timezone=True), nullable=True))
 
     with op.batch_alter_table("task_instance_history", schema=None) as batch_op:
         batch_op.add_column(sa.Column("scheduled_dttm", UtcDateTime(timezone=True), nullable=True))
 
-    # ### end Alembic commands ###
-
 
 def downgrade():
     """Unapply add new task_instance field scheduled_dttm."""
-    # ### commands auto generated by Alembic - please adjust! ###
     with op.batch_alter_table("task_instance_history", schema=None) as batch_op:
         batch_op.drop_column("scheduled_dttm")
 
     with op.batch_alter_table("task_instance", schema=None) as batch_op:
         batch_op.drop_column("scheduled_dttm")
-
-    # ### end Alembic commands ###
diff --git a/docs/apache-airflow/img/airflow_erd.sha256 b/docs/apache-airflow/img/airflow_erd.sha256
index e3f420e62c1..f2bf3855216 100644
--- a/docs/apache-airflow/img/airflow_erd.sha256
+++ b/docs/apache-airflow/img/airflow_erd.sha256
@@ -1 +1 @@
-829be35e333798f7c33c5fe0130ed12fad481c92145abc398ae23b815dd7b6ed
\ No newline at end of file
+0f041321ecbb5d059f7a9c85fd5cfba745732eea205dc2e4f5e3b6dd76a9468d
\ No newline at end of file