Skip to content

Commit 455b63c

Browse files
committed
moved database to be relative to .jar (like logs)
1 parent 48475f7 commit 455b63c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ spring.h2.console.enabled=true
33
spring.h2.console.path=/h2
44

55
# Datasource
6-
spring.datasource.url=jdbc:h2:file:~/keeptime/db/keeptime-h2-db;DB_CLOSE_ON_EXIT=FALSE
6+
spring.datasource.url=jdbc:h2:file:./db/keeptime-h2-db;DB_CLOSE_ON_EXIT=FALSE
77
spring.datasource.username=sa
88
spring.datasource.password=
99
spring.datasource.driver-class-name=org.h2.Driver

0 commit comments

Comments
 (0)