1
resposta

Deu erro ao criar a nova migration

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2023-01-27T17:20:36.602-03:00 ERROR 2802 --- [ 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 1 (create-table-medicos). 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

1 resposta

Oi Renan!

Seguiu essa atividade: https://cursos.alura.com.br/course/spring-boot-3-desenvolva-api-rest-java/task/121056