Hola buen día!
Después de añadir V2__alter-table-medicos-add-telefono.sql
Al actualizar el código me sale el siguiente error...
*Detected failed migration to version 2 (alter-table-medicos-add-telefono). Please remove any half-completed changes then run repair to fix the schema history. Need more flexibility with validation rules? *
y
**Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2023-04-05T18:36:11.514-05:00 ERROR 8756 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Validate failed: Migrations have failed validation Detected failed migration to version 2 (alter-table-medicos-add-telefono). Please remove any half-completed changes then run repair to fix the schema history.
Creo que hay un método en Flyway que ha sido *deprecated *