This commit is contained in:
@@ -36,7 +36,7 @@ dependencies {
|
|||||||
implementation("org.springframework.boot:spring-boot-starter-actuator:3.5.7")
|
implementation("org.springframework.boot:spring-boot-starter-actuator:3.5.7")
|
||||||
|
|
||||||
|
|
||||||
//implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
implementation("org.springframework.boot:spring-boot-starter-data-jpa")
|
||||||
//implementation("org.flywaydb:flyway-database-postgresql:10.10.0")
|
//implementation("org.flywaydb:flyway-database-postgresql:10.10.0")
|
||||||
runtimeOnly("org.postgresql:postgresql")
|
runtimeOnly("org.postgresql:postgresql")
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ spring:
|
|||||||
|
|
||||||
# Datasource
|
# Datasource
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:postgresql://192.168.2.101:5432/app_db
|
url: jdbc:postgresql://192.168.2.101:5432/test_db
|
||||||
username: postgres
|
username: postgres
|
||||||
password: ${SPRING_DATASOURCE_PASSWORD}
|
password: ${SPRING_DATASOURCE_PASSWORD}
|
||||||
driver-class-name: org.postgresql.Driver
|
driver-class-name: org.postgresql.Driver
|
||||||
@@ -19,7 +19,7 @@ spring:
|
|||||||
# JPA
|
# JPA
|
||||||
jpa:
|
jpa:
|
||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: validate
|
# ddl-auto: validate
|
||||||
show-sql: true
|
show-sql: true
|
||||||
properties:
|
properties:
|
||||||
hibernate:
|
hibernate:
|
||||||
|
|||||||
Reference in New Issue
Block a user