Skip to content

Commit

Permalink
fix: Main flyway 빈 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoon9901 authored Mar 5, 2024
1 parent 3813598 commit ffd85f1
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/java/com/example/codebase/ArtBackendApplication.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,4 @@ public class ArtBackendApplication {
public static void main(String[] args) {
SpringApplication.run(ArtBackendApplication.class, args);
}

@Bean
public FlywayMigrationStrategy cleanMigrateStrategy() {
return flyway -> {
flyway.repair();
flyway.migrate();
};
}
}

0 comments on commit ffd85f1

Please sign in to comment.