rkh-hash commented on issue #13222: URL: https://github.com/apache/airflow/issues/13222#issuecomment-749158249
@potiuk Thank you for your explanations but I don't think so. Why: Existing airflow migration rules specify `_type` arg when calling `op.drop_constraint` alembic operation method. But, this migration rule `cf5dc11e79ad_drop_user_and_chart.py` **DOES NOT** set `_type` arg value (https://github.com/apache/airflow/blob/master/airflow/migrations/versions/cf5dc11e79ad_drop_user_and_chart.py#L49). Additionally, you can find a mention into the `drop_constraint` docstring method [here](https://github.com/sqlalchemy/alembic/blob/rel_1_4_3/alembic/operations/ops.py#L141) which advise that `_type` required on MySQL. It may be fixed by adding `_type=foreignkey` ? Any opinion about this ? ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
