eladkal commented on PR #55500:
URL: https://github.com/apache/airflow/pull/55500#issuecomment-3287481014

   > BTW, @ephraimbuddy I saw the comment ` # TODO: Rewrite these queries to 
use alembic when lowest MYSQL version supports IF EXISTS` you put. Is it 
possible to rewrite
   > 
   > ```
   > op.execute("ALTER TABLE dag_run DROP CONSTRAINT IF EXISTS 
dag_run_dag_id_execution_date_uq")
   > ```
   > 
   > to
   > 
   > ```
   > op.drop_index("dag_run_dag_id_execution_date_uq", table_name="dag_run", 
if_exists=True)
   > ```
   > 
   > ? I can fix it while I am at it.
   
   If not related to this PR please do it in a seperated new PR.


-- 
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]

Reply via email to