Skip to content

Commit d989e9d

Browse files
potiukephraimbuddy
andauthored
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]>
1 parent e114312 commit d989e9d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

airflow/migrations/versions/0128_2_7_0_add_include_deferred_column_to_pool.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@
3939
def upgrade():
4040
"""Apply add include_deferred column to pool"""
4141
with op.batch_alter_table("slot_pool") as batch_op:
42-
batch_op.add_column(
43-
sa.Column("include_deferred", sa.Boolean, nullable=False, server_default=sa.false())
44-
)
42+
batch_op.add_column(sa.Column("include_deferred", sa.Boolean, default=False))
4543

4644

4745
def downgrade():
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3420f98a9dfa230d76be4da57bc4a3641cb929b33b9eafe7ffa41fb4fcc4d283
1+
52b0e45032fb1c60274374e0114cf199dfb759adc0a4fe32964136347457506a

0 commit comments

Comments
 (0)