ephraimbuddy commented on issue #24247:
URL: https://github.com/apache/airflow/issues/24247#issuecomment-1148220492

   > Yeah @ephraimbuddy, I tested your patch starting from a schema 2.2.5 
without @AlekseiSaff's suggestion about the sequences and it works. The issue 
still be the foreign key, even using the character set change suggested again 
by @AlekseiSaff. But, creating a foreign key without map_index the upgrade goes 
ahead, stopping on another key named idx_task_reschedule_dag_task_run for a 
similar reason. Tomorrow I will go ahead from here.
   
   You can create a non-unique index on `task_instance` involving `map_index`, 
`run_id`, `task_id`, and `dag_id` after applying my patch and the migration 
stops. Please do this in a test environment.


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