I have a Play 2.2.1 application that connects to multiple databases. One database is a read/write database and one is a read-only database. In development mode, I would like to configure my application so that evolutions are executed on the read/write but not the read-only database.

So far, I've only been able to enable/disable evolutions for all databases using the "evolutionplugin={enabled/disabled}" setting. Is it possible to enable evolutions for one database but not the other?

有帮助吗?

解决方案

Looks like this is not possible at the moment. See this thread.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top