From 45f33cc461a3cdc396ddd1d631398c971fe766db Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Tue, 5 Dec 2023 16:21:13 +0400 Subject: [PATCH] =?UTF-8?q?=D1=83=D0=B1=D1=80=D0=B0=D0=BB=20=D0=B2=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=BE=D0=B5=D0=BD=D0=BD=D1=83=D1=8E=20=D1=81=D1=83?= =?UTF-8?q?=D0=B1=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.properties | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) 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