)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":37598,"name":"Ivan Anfimov","display_name":"Ivan Anfimov","email":"lazekteam@gmail.com","username":"anfimovir"},"change_message_id":"b889d41e1ff2587b8e4413ba1db8831ce3b14e46","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"47d86c20_719b1fa5","updated":"2025-05-09 08:12:29.000000000","message":"@avanzaghi.osf@axellink.fr hello, please abandon this, outdate.","commit_id":"de2df6620b88ff9fb30ee0caf046c840f0cdc5df"}],"mistral/db/sqlalchemy/migration/alembic_migrations/versions/026_optimize_task_expression_func.py":[{"author":{"_account_id":25167,"name":"Qi Peng","email":"19921207pq@gmail.com","username":"pengdake"},"change_message_id":"97dbdf8764bb8a9036d3061ea930191c7d183970","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    migration_context \u003d context.get_context()"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    # MySQL already has index in foreign key column"},{"line_number":36,"context_line":"    if migration_context.dialect.name !\u003d \u0027mysql\u0027:"},{"line_number":37,"context_line":"        op.create_index(\u0027action_executions_v2_task_execution_id\u0027,"},{"line_number":38,"context_line":"                        \u0027action_executions_v2\u0027,"},{"line_number":39,"context_line":"                        [\u0027task_execution_id\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f6a8fd7_8cd7f2ee","line":36,"range":{"start_line":36,"start_character":1,"end_line":36,"end_character":49},"updated":"2018-04-23 03:25:22.000000000","message":"Mysql also need change. Because the index_name is \"task_execution_id\".","commit_id":"de2df6620b88ff9fb30ee0caf046c840f0cdc5df"},{"author":{"_account_id":8731,"name":"Renat Akhmerov","email":"renat.akhmerov@gmail.com","username":"rakhmerov"},"change_message_id":"636a0ebcea7f4ad8929ebe3c1490ebfce601b382","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    migration_context \u003d context.get_context()"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    # MySQL already has index in foreign key column"},{"line_number":36,"context_line":"    if migration_context.dialect.name !\u003d \u0027mysql\u0027:"},{"line_number":37,"context_line":"        op.create_index(\u0027action_executions_v2_task_execution_id\u0027,"},{"line_number":38,"context_line":"                        \u0027action_executions_v2\u0027,"},{"line_number":39,"context_line":"                        [\u0027task_execution_id\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f6a8fd7_e539e1d6","line":36,"range":{"start_line":36,"start_character":1,"end_line":36,"end_character":49},"in_reply_to":"9f6a8fd7_42de8311","updated":"2018-04-23 07:52:10.000000000","message":"Qi Peng, please explain better what your concern is. The point of this patch is that MySQL creates indexes automatically for columns that are foreign keys. And it doesn\u0027t matter what name MySQL gives it. It won\u0027t be conflicting with anything anyway.","commit_id":"de2df6620b88ff9fb30ee0caf046c840f0cdc5df"},{"author":{"_account_id":27008,"name":"Vitalii Solodilov","email":"Mcdkr@yandex.ru","username":"mcdoker18"},"change_message_id":"1162ab4eb5feba05ddff53cde497be5533d14eae","unresolved":false,"context_lines":[{"line_number":33,"context_line":"    migration_context \u003d context.get_context()"},{"line_number":34,"context_line":""},{"line_number":35,"context_line":"    # MySQL already has index in foreign key column"},{"line_number":36,"context_line":"    if migration_context.dialect.name !\u003d \u0027mysql\u0027:"},{"line_number":37,"context_line":"        op.create_index(\u0027action_executions_v2_task_execution_id\u0027,"},{"line_number":38,"context_line":"                        \u0027action_executions_v2\u0027,"},{"line_number":39,"context_line":"                        [\u0027task_execution_id\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"9f6a8fd7_42de8311","line":36,"range":{"start_line":36,"start_character":1,"end_line":36,"end_character":49},"in_reply_to":"9f6a8fd7_8cd7f2ee","updated":"2018-04-23 07:23:25.000000000","message":"What is the problem with this name? Index creation takes a long time on big table and locks table.","commit_id":"de2df6620b88ff9fb30ee0caf046c840f0cdc5df"}]}
