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