|
|
@@ -304,6 +304,8 @@ play.evolutions {
|
|
|
#db.default.enabled = false
|
|
|
}
|
|
|
|
|
|
+play.evolutions.autoApply=true
|
|
|
+
|
|
|
## Database Connection Pool
|
|
|
# https://www.playframework.com/documentation/latest/SettingsJDBC
|
|
|
# ~~~~~
|
|
|
@@ -326,6 +328,8 @@ play.db {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+jpa.default=defaultPersistenceUnit
|
|
|
+
|
|
|
## JDBC Datasource
|
|
|
# https://www.playframework.com/documentation/latest/JavaDatabase
|
|
|
# https://www.playframework.com/documentation/latest/ScalaDatabase
|
|
|
@@ -343,8 +347,10 @@ db {
|
|
|
# By convention, the default datasource is named `default`
|
|
|
|
|
|
# https://www.playframework.com/documentation/latest/Developing-with-the-H2-Database
|
|
|
- #default.driver = org.h2.Driver
|
|
|
- #default.url = "jdbc:h2:mem:play"
|
|
|
+ default.jndiName=DefaultDS
|
|
|
+ default.driver = org.h2.Driver
|
|
|
+ default.url = "jdbc:h2:mem:play;DB_CLOSE_DELAY=-1;INIT=CREATE SCHEMA IF NOT EXISTS TEST"
|
|
|
+ default.autoCreate = true
|
|
|
#default.username = sa
|
|
|
#default.password = ""
|
|
|
|