Upgrade from 0.40 to 0.54.6 take a long time with ChangeSet migrations

2025-05-08 17:23:05,561 INFO liquibase.changelog :: Foreign key fk_sandboxes_ref_permissions dropped

2025-05-08 17:23:05,561 INFO liquibase.changelog :: ChangeSet migrations/001_update_migrations.yaml::v50.2024-01-10T03:27:29::noahmoss ran successfully in 15ms

2025-05-08 17:24:13,655 INFO liquibase.changelog :: SQL in file permissions/mysql_data_access.sql executed

2025-05-08 17:24:13,655 INFO liquibase.changelog :: ChangeSet migrations/001_update_migrations.yaml::v50.2024-01-10T03:27:30::noahmoss ran successfully in 68085ms

2025-05-08 17:24:14,219 INFO liquibase.changelog :: SQL in file permissions/native_query_editing.sql executed

2025-05-08 17:24:14,230 INFO liquibase.changelog :: ChangeSet migrations/001_update_migrations.yaml::v50.2024-01-10T03:27:31::noahmoss ran successfully in 564ms

2025-05-09 01:30:33,458 INFO liquibase.changelog :: SQL in file permissions/mysql_download_results.sql executed

2025-05-09 01:30:33,459 INFO liquibase.changelog :: ChangeSet migrations/001_update_migrations.yaml::v50.2024-01-10T03:27:32::noahmoss ran successfully in 29179221ms

It took 10 hours to complete the execution of permissions/mysql_manage_table_metadata.sql