Skip to content

Commit

Permalink
Add the existing_nullable to the downgrade side of the migration (#39374
Browse files Browse the repository at this point in the history
)

I missed this in the earlier PR on adding the existing_nullable(#39361)
  • Loading branch information
ephraimbuddy authored May 2, 2024
1 parent 0b08abd commit ee584f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,6 @@ def downgrade():
session.close()

with op.batch_alter_table("trigger") as batch_op:
batch_op.alter_column("kwargs", type_=ExtendedJSON(), postgresql_using="kwargs::json")
batch_op.alter_column(
"kwargs", type_=ExtendedJSON(), postgresql_using="kwargs::json", existing_nullable=False
)
2 changes: 1 addition & 1 deletion docs/apache-airflow/img/airflow_erd.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2e81e413572223fb23ad87086f9f3684363278b0b88400071c19688bc2ce9136
e816aa2004ece1f8e07f6c5978a690ae7176b81f7d9df89115f3b65dab1c5231
4 changes: 2 additions & 2 deletions docs/apache-airflow/img/airflow_erd.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ee584f4

Please sign in to comment.