Skip to content

Commit e38989b

Browse files
committed
fixed database persistence issue
1 parent 752e40a commit e38989b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/main/resources/application.properties

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ management.endpoints.web.exposure.include=*
3434
# and with a sufficient length.
3535
repo.auth.jwtSecret:test123
3636

37+
###############################################################################
38+
# Database
39+
###############################################################################
40+
spring.datasource.driver-class-name: org.h2.Driver
41+
spring.datasource.url: jdbc:h2:file:/Users/maximilian/mps-data
42+
spring.datasource.username: test
43+
spring.datasource.password: test
44+
spring.jpa.hibernate.ddl-auto: update
45+
46+
3747
##################################################
3848
######### Mapping-Service ##########
3949
##################################################

0 commit comments

Comments
 (0)