chore: Update H2 database dependency and configuration
This commit is contained in:
@@ -1 +1,14 @@
|
||||
spring.application.name=DataDash
|
||||
|
||||
# Datasource configuration
|
||||
spring.datasource.url=jdbc:h2:mem:studentcoursedb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
|
||||
spring.datasource.driverClassName=org.h2.Driver
|
||||
spring.jpa.database-platform=org.hibernate.dialect.H2Dialect
|
||||
spring.sql.init.mode=always
|
||||
spring.jpa.hibernate.ddl-auto=none
|
||||
|
||||
# Uncomment for web console
|
||||
#spring.h2.console.enabled=true
|
||||
#spring.h2.console.path=/h2-console
|
||||
#spring.datasource.username=sa
|
||||
#spring.datasource.password=pwd
|
||||
Reference in New Issue
Block a user