我在这个文件中有我的数据库结构
myproject/conf/evolutions/mydatabasename/1.sql
我有这个配置用于测试
implicit override def newAppForTest(td: TestData): FakeApplication = FakeApplication(
additionalConfiguration = Map(
"evolutionplugin" -> "enabled",
"db.mydatabasename.driver" -> "org.h2.Driver",
"db.mydatabasename.url" -> "jdbc:h2:mem:play;MODE=MYSQL",
"db.mydatabasename.logStatements" -> true,
"db.mydatabasename.username" -> "root",
"db.mydatabasename.password" -> "root",
"logback.com.jolbox" -> "ERROR"
)
)
如果我将文件夹名称“mydatabasename”更改为“default”,并且在配置文件中将“mydatabasename”更改为“default”,它可以工作,但是当我尝试更改名称时,它不会。有没有办法使这项工作?
谢谢