Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

[Bug] Detected failed migration to version 2 (alter-table-medicos-add-colunm-telefone).

2024-01-21T12:33:40.438-03:00 WARN 2184 --- [ restartedMain] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: 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-colunm-telefone). Please remove any half-completed changes then run repair to fix the schema history. Need more flexibility with validation rules? Learn more: https://rd.gt/3AbJUZE......... Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-01-21T12:33:40.565-03:00 ERROR 2184 --- [ restartedMain] o.s.boot.SpringApplication : Application run failed... Detected failed migration to version 2 (alter-table-medicos-add-colunm-telefone). Please remove any half-completed changes then run repair to fix the schema history.

2 respostas
solução!

Oi!

Só seguir aqui: https://cursos.alura.com.br/course/spring-boot-3-desenvolva-api-rest-java/task/121056

Boa noite, Fabricio!

Verifica o nome column o seu está colunm.

Não sei seu irá ajudar.

Insira aqui a descrição dessa imagem para ajudar na acessibilidade