This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-7-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 2ff8d4d6133300b1c8017ed8f5d9e981921b95c9 Author: Jarek Potiuk <[email protected]> AuthorDate: Wed Aug 9 23:00:21 2023 +0200 Change type of defualts for include_deferred (#33271) We should change the defaults to client defaults for MSSQL compatibility The change in #32709 was not liked by MSSQL Co-authored-by: Ephraim Anierobi <[email protected]> (cherry picked from commit d989e9dba5899e87780df9a8c5994ed1e3f8a776) --- .../versions/0128_2_7_0_add_include_deferred_column_to_pool.py | 4 +--- docs/apache-airflow/img/airflow_erd.sha256 | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/airflow/migrations/versions/0128_2_7_0_add_include_deferred_column_to_pool.py b/airflow/migrations/versions/0128_2_7_0_add_include_deferred_column_to_pool.py index ea10320480..bbafc68057 100644 --- a/airflow/migrations/versions/0128_2_7_0_add_include_deferred_column_to_pool.py +++ b/airflow/migrations/versions/0128_2_7_0_add_include_deferred_column_to_pool.py @@ -39,9 +39,7 @@ airflow_version = "2.7.0" def upgrade(): """Apply add include_deferred column to pool""" with op.batch_alter_table("slot_pool") as batch_op: - batch_op.add_column( - sa.Column("include_deferred", sa.Boolean, nullable=False, server_default=sa.false()) - ) + batch_op.add_column(sa.Column("include_deferred", sa.Boolean, default=False)) def downgrade(): diff --git a/docs/apache-airflow/img/airflow_erd.sha256 b/docs/apache-airflow/img/airflow_erd.sha256 index 5f9515fc19..a7704c8fc5 100644 --- a/docs/apache-airflow/img/airflow_erd.sha256 +++ b/docs/apache-airflow/img/airflow_erd.sha256 @@ -1 +1 @@ -3420f98a9dfa230d76be4da57bc4a3641cb929b33b9eafe7ffa41fb4fcc4d283 \ No newline at end of file +52b0e45032fb1c60274374e0114cf199dfb759adc0a4fe32964136347457506a \ No newline at end of file
