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

kalyanr pushed a commit to branch v2-11-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-11-test by this push:
     new 880f29845a4 update null event values to empty string in downgrade for 
migration revision_id d75389605139 (#57131)
880f29845a4 is described below

commit 880f29845a43e310cedbd8c306aefe185b803d37
Author: Kalyan R <[email protected]>
AuthorDate: Tue Oct 28 21:18:02 2025 +0530

    update null event values to empty string in downgrade for migration 
revision_id d75389605139 (#57131)
    
    * update null event values to empty string
    
    * make column nullable
---
 ..._9_0_add_run_id_to_audit_log_table_and_change_event_name_length.py | 4 ++--
 docs/apache-airflow/img/airflow_erd.sha256                            | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/airflow/migrations/versions/0135_2_9_0_add_run_id_to_audit_log_table_and_change_event_name_length.py
 
b/airflow/migrations/versions/0135_2_9_0_add_run_id_to_audit_log_table_and_change_event_name_length.py
index 44bef77578b..22b9c433781 100644
--- 
a/airflow/migrations/versions/0135_2_9_0_add_run_id_to_audit_log_table_and_change_event_name_length.py
+++ 
b/airflow/migrations/versions/0135_2_9_0_add_run_id_to_audit_log_table_and_change_event_name_length.py
@@ -59,8 +59,8 @@ def downgrade():
     if conn.dialect.name == "mssql":
         with op.batch_alter_table("log") as batch_op:
             batch_op.drop_index("idx_log_event")
-            batch_op.alter_column("event", type_=sa.String(30), nullable=False)
+            batch_op.alter_column("event", type_=sa.String(30))
             batch_op.create_index("idx_log_event", ["event"])
     else:
         with op.batch_alter_table("log") as batch_op:
-            batch_op.alter_column("event", type_=sa.String(30), nullable=False)
+            batch_op.alter_column("event", type_=sa.String(30))
diff --git a/docs/apache-airflow/img/airflow_erd.sha256 
b/docs/apache-airflow/img/airflow_erd.sha256
index ddee93beb4e..69bdbd6b3fc 100644
--- a/docs/apache-airflow/img/airflow_erd.sha256
+++ b/docs/apache-airflow/img/airflow_erd.sha256
@@ -1 +1 @@
-c70c94b125dfd0a0e24d5815b6474e525e42a801d6b4915a3a97ca074d80b67e
\ No newline at end of file
+71cb256083f5a9ef692cd7e0320fed0764b8d664d7b9b851c3bdb804186b8022
\ No newline at end of file

Reply via email to