diff --git a/server/pom.xml b/server/pom.xml index 86b2d56..5ab001a 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -28,6 +28,10 @@ org.springframework.boot spring-boot-starter-data-jpa + + org.flywaydb + flyway-core + org.flywaydb flyway-database-postgresql @@ -80,10 +84,6 @@ postgresql test - - org.flywaydb - flyway-core - diff --git a/server/src/main/resources/application.yml b/server/src/main/resources/application.yml index 6ec67e2..46b6575 100644 --- a/server/src/main/resources/application.yml +++ b/server/src/main/resources/application.yml @@ -11,13 +11,13 @@ spring: show-sql: true hibernate.ddl-auto: validate database: postgresql - properties: - hibernate: + properties.hibernate: pretty_print: true format_sql: true + dialect: org.hibernate.dialect.PostgreSQLDialect flyway: user: root password: root schemas: vkr locations: db.migration - url: jdbc:postgresql://localhost:5432/db + url: jdbc:postgresql://localhost:5432/db \ No newline at end of file