mirror of
https://github.com/AJMicke/KickerELO.git
synced 2026-03-12 05:51:05 +01:00
Use in-memory database for testing, add test data on startup when in test mode.
This commit is contained in:
@@ -8,4 +8,7 @@ spring.datasource.password=${DATABASE_PASSWORD}
|
||||
spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
|
||||
spring.jpa.hibernate.ddl-auto=validate
|
||||
spring.jpa.show-sql=false
|
||||
spring.jpa.open-in-view=false
|
||||
spring.jpa.open-in-view=false
|
||||
|
||||
# In prod mode, never add the test data to the database
|
||||
spring.sql.init.mode=never
|
||||
Reference in New Issue
Block a user