Closed ogabrielluiz closed 1 week ago
Comparing improve-migration-script
(849800d) with main
(c3dbabb)
⚡ 2
improvements
✅ 13
untouched benchmarks
Benchmark | main |
improve-migration-script |
Change | |
---|---|---|---|---|
⚡ | test_successful_run_with_input_type_any |
298.1 ms | 220.5 ms | +35.16% |
⚡ | test_successful_run_with_output_type_any |
5,026.3 ms | 230.2 ms | ×22 |
This pull request improves the migration script by adding a check for the existence of the "name" column before attempting to alter its properties. It also enhances error handling by removing unnecessary try-except blocks, ensuring that the migration process is more robust and reliable. The changes ensure that the column is only altered if it exists and meets the specified conditions.