abhishekbhakat commented on code in PR #34335:
URL: https://github.com/apache/airflow/pull/34335#discussion_r1324336308
##########
airflow/migrations/versions/0129_2_8_0_add_clear_number_to_dag_run.py:
##########
@@ -43,7 +43,7 @@ def upgrade():
sa.Column(
"clear_number",
sa.Integer,
- default=0,
+ server_default="0",
Review Comment:
The SQL Query generated by this is `ALTER TABLE dag_run ADD COLUMN
clear_number INTEGER NOT NULL DEFAULT 0;`.
So I think a simple drop should work.
Any resources where I can read more about what you are referring for MSSQL?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]