diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index d979872..428ed45 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1,15 +1,8 @@ -#spring.jpa.hibernate.ddl-auto=update -#spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:3306/giproclientsandfilesdb -#spring.datasource.username=root -#spring.datasource.password= -#spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver -#spring.jpa.show-sql: true +spring.jpa.hibernate.ddl-auto=update +spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:3306/giproclientsandfilesdb +spring.datasource.username=root +spring.datasource.password= +spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver +spring.jpa.show-sql:true spring.main.allow-bean-definition-overriding=true spring.jackson.serialization.fail-on-empty-beans=false -spring.datasource.url=jdbc:h2:file:./data/giproclientsandfilesdb -spring.datasource.driverClassName=org.h2.Driver -spring.datasource.username=sa -spring.datasource.password=password -spring.jpa.database-platform=org.hibernate.dialect.H2Dialect -spring.h2.console.enabled=true -spring.jpa.hibernate.ddl-auto=update \ No newline at end of file