Skip to content

Commit

Permalink
Remove AnsettelseLoggDTO and update Flyway config
Browse files Browse the repository at this point in the history
#deploy-levende-arbeidsforhold-ansettelse

Deleted the unused AnsettelseLoggDTO class as part of code cleanup. Additionally, enabled the Flyway `baseline-on-migrate` option in application.yml to ensure proper database migration handling.
  • Loading branch information
krharum committed Aug 15, 2024
1 parent 4880aee commit 9917ca2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ public class LevendeArbeidsforholdAnsettelseApplication {
public static void main(String[] args) {
SpringApplication.run(LevendeArbeidsforholdAnsettelseApplication.class, args);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ spring:
flyway:
locations: classpath:db/migration
enabled: true
baseline-on-migrate: true
springdoc:
swagger-ui:
disable-swagger-default-url: true
Expand Down

This file was deleted.

0 comments on commit 9917ca2

Please sign in to comment.