You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/08/22 19:53:55 UTC

[GitHub] [airflow] ephraimbuddy commented on a diff in pull request #25869: Fix migration issues and tighten the CI upgrade/downgrade test

ephraimbuddy commented on code in PR #25869:
URL: https://github.com/apache/airflow/pull/25869#discussion_r951853689


##########
airflow/migrations/versions/0113_2_4_0_compare_types_between_orm_and_db.py:
##########
@@ -163,6 +163,15 @@ def downgrade():
         batch_op.alter_column(
             'created_at', existing_type=TIMESTAMP(), type_=sa.DateTime(), existing_nullable=False
         )
+    with op.batch_alter_table('serialized_dag', schema=None) as batch_op:
+        # drop server_default

Review Comment:
   ```suggestion
           # add server_default
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org