add sql init config
This commit is contained in:
parent
5eb975bcf9
commit
2bc7aad65f
@ -21,7 +21,7 @@ spring.mail.properties.mail.smtp.starttls.required=true
|
|||||||
# spring.datasource.url=jdbc:h2:file:./db
|
# spring.datasource.url=jdbc:h2:file:./db
|
||||||
spring.datasource.url=jdbc:h2:file:/var/opt/pfs/db
|
spring.datasource.url=jdbc:h2:file:/var/opt/pfs/db
|
||||||
spring.jpa.hibernate.ddl-auto=create-drop
|
spring.jpa.hibernate.ddl-auto=create-drop
|
||||||
spring.sql.init.mode=embedded
|
spring.sql.init.mode=${SQL_INIT:embedded}
|
||||||
spring.datasource.driverClassName=org.h2.Driver
|
spring.datasource.driverClassName=org.h2.Driver
|
||||||
spring.datasource.username=sa
|
spring.datasource.username=sa
|
||||||
spring.datasource.password=${H2_PASS}
|
spring.datasource.password=${H2_PASS}
|
||||||
|
Loading…
Reference in New Issue
Block a user